blob: 3104ee79d2a594fdd329a4177e65c0e58df2d829 [file] [log] [blame]
BorislavGb36d86c2018-04-01 18:59:54 +03001# Copyright © 2018 Amdocs, AT&T, Bell Canada
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
BorislavGb36d86c2018-04-01 18:59:54 +030020 persistence: {}
21 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
BorislavGb36d86c2018-04-01 18:59:54 +030023
24#################################################################
25# Application configuration defaults.
26#################################################################
27
28# BusyBox image
29busyboxRepository: registry.hub.docker.com
30busyboxImage: library/busybox:latest
31
32postgresRepository: crunchydata
joxu8f3865e2018-09-18 18:07:28 +000033image: crunchy-postgres:centos7-10.4-2.0.0
BorislavGb36d86c2018-04-01 18:59:54 +030034pullPolicy: Always
35
36# application configuration
37config:
38 pgUserName: testuser
39 pgDatabase: userdb
40 pgPrimaryPassword: password
41 pgUserPassword: password
42 pgRootPassword: password
43
44container:
45 name:
46 primary: pgset-primary
47 replica: pgset-replica
48
joxu8f3865e2018-09-18 18:07:28 +000049pgpool:
50 container:
51 port: 5432
52 name:
53 primary: pgset-primary
54 replica: pgset-replica
55 credentials:
56 pgusername: testuser
57 pgpassword: password
Mandeep Khinda60d36d42018-09-24 15:15:48 +000058 service:
59 name: pgpool
joxu8f3865e2018-09-18 18:07:28 +000060
Mandeep Khinda60d36d42018-09-24 15:15:48 +000061
BorislavGb36d86c2018-04-01 18:59:54 +030062# default number of instances
63replicaCount: 2
64
65nodeSelector: {}
66
67affinity: {}
68
69# probe configuration parameters
70liveness:
BorislavG3f102012018-05-17 16:03:33 +000071 initialDelaySeconds: 300
BorislavGb36d86c2018-04-01 18:59:54 +030072 periodSeconds: 10
73 timeoutSeconds: 5
74 # necessary to disable liveness probe when setting breakpoints
75 # in debugger so K8s doesn't restart unresponsive container
76 enabled: true
77
78readiness:
BorislavG3f102012018-05-17 16:03:33 +000079 initialDelaySeconds: 10
BorislavGb36d86c2018-04-01 18:59:54 +030080 periodSeconds: 10
81
82## Persist data to a persitent volume
83persistence:
84 enabled: true
BorislavG3f102012018-05-17 16:03:33 +000085
BorislavGb36d86c2018-04-01 18:59:54 +030086 ## 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
89 # existingClaim:
90 volumeReclaimPolicy: Retain
91
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
99 size: 1Gi
100 mountPath: /dockerdata-nfs
101 mountSubPath: postgres/data
102 mountInitPath: postgres
103
104service:
105 type: ClusterIP
106 name: pgset
Sylvain Desbureaux0b243b62019-12-11 11:53:42 +0100107 portName: tcp-postgres
BorislavGb36d86c2018-04-01 18:59:54 +0300108 externalPort: 5432
109 internalPort: 5432
110 type2: ClusterIP
Sylvain Desbureaux0b243b62019-12-11 11:53:42 +0100111 name2: tcp-pgset-primary
112 portName2: tcp-postgres
BorislavGb36d86c2018-04-01 18:59:54 +0300113 externalPort2: 5432
114 internalPort2: 5432
115 type3: ClusterIP
Sylvain Desbureaux0b243b62019-12-11 11:53:42 +0100116 name3: tcp-pgset-replica
117 portName3: tcp-postgres
BorislavGb36d86c2018-04-01 18:59:54 +0300118 externalPort3: 5432
119 internalPort3: 5432
120
121ingress:
122 enabled: false
123
124resources: {}
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:'.
129 #
130 # Example:
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
135#resources:
136# limits:
137# cpu: 2
138# memory: 4Gi
139# requests:
140# cpu: 2
141# memory: 4Gi