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
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
29 busyboxRepository: registry.hub.docker.com
30 busyboxImage: library/busybox:latest
32 postgresRepository: crunchydata
33 image: crunchy-postgres:centos7-10.4-2.0.0
36 # application configuration
40 pgPrimaryPassword: password
41 pgUserPassword: password
42 pgRootPassword: password
46 primary: pgset-primary
47 replica: pgset-replica
53 primary: pgset-primary
54 replica: pgset-replica
62 # default number of instances
69 # probe configuration parameters
71 initialDelaySeconds: 300
74 # necessary to disable liveness probe when setting breakpoints
75 # in debugger so K8s doesn't restart unresponsive container
79 initialDelaySeconds: 10
82 ## Persist data to a persitent volume
86 ## A manually managed Persistent Volume and Claim
87 ## Requires persistence.enabled: true
88 ## If defined, PVC must be created manually before volume will be bound
90 volumeReclaimPolicy: Retain
92 ## database data Persistent Volume Storage Class
93 ## If defined, storageClassName: <storageClass>
94 ## If set to "-", storageClassName: "", which disables dynamic provisioning
95 ## If undefined (the default) or set to null, no storageClassName spec is
96 ## set, choosing the default provisioner. (gp2 on AWS, standard on
97 ## GKE, AWS & OpenStack)
98 accessMode: ReadWriteOnce
100 mountPath: /dockerdata-nfs
101 mountSubPath: postgres/data
102 mountInitPath: postgres
107 portName: tcp-postgres
111 name2: tcp-pgset-primary
112 portName2: tcp-postgres
116 name3: tcp-pgset-replica
117 portName3: tcp-postgres
125 # We usually recommend not to specify default resources and to leave this as a conscious
126 # choice for the user. This also increases chances charts run on environments with little
127 # resources, such as Minikube. If you do want to specify resources, uncomment the following
128 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
131 # Configure resource requests and limits
132 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
133 # Minimum memory for development is 2 CPU cores and 4GB memory
134 # Minimum memory for production is 4 CPU cores and 8GB memory