From 3a7d503fe0baaf0c7b4d1677587dc967d21bb379 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Wed, 8 May 2019 12:51:08 +0200 Subject: [PATCH] put pod-related stuff to kubernetes configs --- charts/postgres-operator/values.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/postgres-operator/values.yaml b/charts/postgres-operator/values.yaml index 54ad0803a..0656bccf0 100644 --- a/charts/postgres-operator/values.yaml +++ b/charts/postgres-operator/values.yaml @@ -20,11 +20,9 @@ config: workers: "4" configCRD: - enable_pod_antiaffinity: "false" etcd_host: "" min_instances: -1 max_instances: -1 - pod_antiaffinity_topology_key: "kubernetes.io/hostname" #sidecar_docker_images # example: "exampleimage:exampletag" @@ -34,11 +32,14 @@ configUsers: configKubernetes: cluster_labels: application:spilo + enable_pod_antiaffinity: "false" # inherited_labels: "" # infrastructure_roles_secret_name: postgresql-infrastructure-roles # node_readiness_label: "" # oauth_token_secret_name: postgresql-operator # pod_environment_configmap: "" + pod_antiaffinity_topology_key: "kubernetes.io/hostname" + pod_management_policy: "ordered_ready" pdb_name_format: "postgres-{cluster}-pdb" pod_role_label: spilo-role secret_name_template: '{username}.{cluster}.credentials'