44
55replicaCount : 1
66
7- revisionHistoryLimit : 10
7+ revisionHistoryLimit : 3
88
99image :
1010 repository : ghcr.io/movetokube/postgres-operator
@@ -27,12 +27,13 @@ serviceAccount:
2727 # The name of the service account to use.
2828 # If not set and create is true, a name is generated using the fullname template
2929 name : " "
30+ automount : true
3031
3132deploymentAnnotations : {}
3233
3334podAnnotations : {}
3435
35- # Additionnal labels to add to the pod.
36+ # Additional labels to add to the pod.
3637podLabels : {}
3738
3839podSecurityContext :
@@ -45,8 +46,7 @@ securityContext:
4546 drop :
4647 - " ALL"
4748
48- resources :
49- {}
49+ resources : {}
5050 # We usually recommend not to specify default resources and to leave this as a conscious
5151 # choice for the user. This also increases chances charts run on environments with little
5252 # resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -79,11 +79,11 @@ watchNamespace: ""
7979# Define connection to postgres database server
8080postgres :
8181 # postgres hostname
82- host : " localhost "
83- # postgres admin user and password
84- user : " admin "
85- password : " password "
86- # additional connection args to pg driver
82+ host : " xxxxxxxxxx "
83+ # postgres admin user and password ( ignored if existingSecret or ExternalSecret is set )
84+ user : " XXXXXXXXXX "
85+ password : " XXXXXXXXXX "
86+ # additional connection args to pg driver (Example "sslmode=disable")
8787 uri_args : " "
8888 # postgres cloud provider, could be AWS, Azure, GCP or empty (default)
8989 cloud_provider : " "
@@ -98,10 +98,21 @@ volumeMounts: []
9898
9999# Existing secret where values to connect to Postgres are defined.
100100# If not set a new secret will be created, filled with information under the postgres key above.
101+ # If ExternalSecret is set, existingSecret is ignored.
101102existingSecret : " "
102103
103- # Additionnal environment variables to add to the pod (map of key / value)
104- env : {}
104+ # Support for ExternalSecret Operator to fetch Postgres credentials from an external secret store.
105+ ExternalSecret : {}
106+ # secretStore: "aws-secretsmanager-euc1" # (Mandatory) Name of the SecretStore or ClusterSecretStore to reference in the ExternalSecret
107+ # remoteKey: "rds!db-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # (Mandatory) Remote key in the external secret store where Postgres credentials are stored
108+ # namespace: "" # (Optional), defaults to release namespace
109+ # secretStoreKind: "" # (Optional), defaults to SecretStore / SecretStore or ClusterSecretStore
110+ # refreshInterval: "2s" # (Optional), defaults to SecretStore / SecretStore or ClusterSecretStore
111+
112+ # Additional environment variables to add to the pod (map of key / value)
113+ env :
114+ POSTGRES_INSTANCE : " XXXXXXXXXX"
115+ # POSTGRES_CLOUD_PROVIDER: "AWS"
105116
106117nodeSelector : {}
107118
0 commit comments