put pod-related stuff to kubernetes configs

This commit is contained in:
Felix Kunde 2019-05-08 12:51:08 +02:00
parent d56913432d
commit 3a7d503fe0
1 changed files with 3 additions and 2 deletions

View File

@ -20,11 +20,9 @@ config:
workers: "4" workers: "4"
configCRD: configCRD:
enable_pod_antiaffinity: "false"
etcd_host: "" etcd_host: ""
min_instances: -1 min_instances: -1
max_instances: -1 max_instances: -1
pod_antiaffinity_topology_key: "kubernetes.io/hostname"
#sidecar_docker_images #sidecar_docker_images
# example: "exampleimage:exampletag" # example: "exampleimage:exampletag"
@ -34,11 +32,14 @@ configUsers:
configKubernetes: configKubernetes:
cluster_labels: application:spilo cluster_labels: application:spilo
enable_pod_antiaffinity: "false"
# inherited_labels: "" # inherited_labels: ""
# infrastructure_roles_secret_name: postgresql-infrastructure-roles # infrastructure_roles_secret_name: postgresql-infrastructure-roles
# node_readiness_label: "" # node_readiness_label: ""
# oauth_token_secret_name: postgresql-operator # oauth_token_secret_name: postgresql-operator
# pod_environment_configmap: "" # pod_environment_configmap: ""
pod_antiaffinity_topology_key: "kubernetes.io/hostname"
pod_management_policy: "ordered_ready"
pdb_name_format: "postgres-{cluster}-pdb" pdb_name_format: "postgres-{cluster}-pdb"
pod_role_label: spilo-role pod_role_label: spilo-role
secret_name_template: '{username}.{cluster}.credentials' secret_name_template: '{username}.{cluster}.credentials'