Skip to content

Instantly share code, notes, and snippets.

@flypenguin
Created May 1, 2021 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flypenguin/f0f70176a834dfcb6e389a1e62f84986 to your computer and use it in GitHub Desktop.
Save flypenguin/f0f70176a834dfcb6e389a1e62f84986 to your computer and use it in GitHub Desktop.
a fixed version for zalando's pg-operator helm chart
# enable CRD configuration
configTarget: OperatorConfigurationCRD
# the following values ARE THE DEFAULT VALUES. unfortunately they are coded as
# strings in the default values.yaml, and the verification (rightfully) complains
# that either boolean or integer values are needed. so we have to re-include them
# here but with the correct data type.
# the only exceptions to this are the commented-out values, which contain integers,
# but are needed as strings. what a mess.
configGeneral:
enable_crd_validation: true
enable_lazy_spilo_upgrade: false
enable_pgversion_env_var: true
enable_shm_volume: true
enable_spilo_wal_path_compat: false
min_instances: -1
max_instances: -1
workers: 8
configKubernetes:
cluster_labels:
application: spilo
enable_init_containers: true
enable_pod_antiaffinity: false
enable_pod_disruption_budget: true
enable_sidecars: true
spilo_privileged: false
spilo_allow_privilege_escalation: true
#configPostgresPodResources:
# default_cpu_limit: 1
configLoadBalancer:
enable_master_load_balancer: false
enable_replica_load_balancer: false
configDebug:
debug_logging: true
enable_database_access: true
configLoggingRestApi:
api_port: 8080
cluster_history_entries: 1000
ring_log_lines: 100
configAwsOrGcp:
enable_ebs_gp3_migration: false
configTeamsApi:
enable_postgres_team_crd: false
enable_teams_api: false
configConnectionPooler:
connection_pooler_max_db_connections: 60
connection_pooler_number_of_instances: 2
#connection_pooler_default_cpu_limit: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment