1 # Copyright © 2018 Amdocs, AT&T, Bell Canada
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
21 readinessRepository: oomk8s
22 readinessImage: readiness-check:2.0.0
25 envsubstImage: dibi/envsubst
27 #################################################################
29 #################################################################
31 - uid: '{{ include "common.postgres.secret.rootPassUID" . }}'
33 externalSecret: '{{ tpl (default "" .Values.config.pgRootPasswordExternalSecret) . }}'
34 password: '{{ .Values.config.pgRootPassword }}'
35 - uid: '{{ include "common.postgres.secret.userCredentialsUID" . }}'
37 externalSecret: '{{ tpl (default "" .Values.config.pgUserExternalSecret) . }}'
38 login: '{{ .Values.config.pgUserName }}'
39 password: '{{ .Values.config.pgUserPassword }}'
40 - uid: '{{ include "common.postgres.secret.primaryPasswordUID" . }}'
42 externalSecret: '{{ tpl (default "" .Values.config.pgPrimaryPasswordExternalSecret) . }}'
43 password: '{{ .Values.config.pgPrimaryPassword }}'
45 #################################################################
46 # Application configuration defaults.
47 #################################################################
50 busyboxRepository: registry.hub.docker.com
51 busyboxImage: library/busybox:latest
53 postgresRepository: crunchydata
54 image: crunchy-postgres:centos7-10.11-4.2.1
57 # application configuration
61 # pgPrimaryPassword: password
62 # pgUserPassword: password
63 # pgRootPassword: password
67 primary: pgset-primary
68 replica: pgset-replica
74 # probe configuration parameters
76 initialDelaySeconds: 300
79 # necessary to disable liveness probe when setting breakpoints
80 # in debugger so K8s doesn't restart unresponsive container
84 initialDelaySeconds: 10
87 ## Persist data to a persitent volume
91 ## A manually managed Persistent Volume and Claim
92 ## Requires persistence.enabled: true
93 ## If defined, PVC must be created manually before volume will be bound
95 volumeReclaimPolicy: Retain
97 ## database data Persistent Volume Storage Class
98 ## If defined, storageClassName: <storageClass>
99 ## If set to "-", storageClassName: "", which disables dynamic provisioning
100 ## If undefined (the default) or set to null, no storageClassName spec is
101 ## set, choosing the default provisioner. (gp2 on AWS, standard on
102 ## GKE, AWS & OpenStack)
103 accessMode: ReadWriteOnce
105 mountPath: /dockerdata-nfs
106 mountSubPath: postgres/data
107 mountInitPath: postgres
112 portName: tcp-postgres
116 name2: tcp-pgset-primary
117 portName2: tcp-postgres
121 name3: tcp-pgset-replica
122 portName3: tcp-postgres
130 # We usually recommend not to specify default resources and to leave this as a conscious
131 # choice for the user. This also increases chances charts run on environments with little
132 # resources, such as Minikube. If you do want to specify resources, uncomment the following
133 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
136 # Configure resource requests and limits
137 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
138 # Minimum memory for development is 2 CPU cores and 4GB memory
139 # Minimum memory for production is 4 CPU cores and 8GB memory