blob: a570028900d44bc9a659c24c81bc09d9fa936c34 [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
33image: crunchy-postgres:centos7-10.3-1.8.2
34pullPolicy: 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
49# default number of instances
50replicaCount: 2
51
52nodeSelector: {}
53
54affinity: {}
55
56# probe configuration parameters
57liveness:
58 initialDelaySeconds: 30
59 periodSeconds: 10
60 timeoutSeconds: 5
61 # necessary to disable liveness probe when setting breakpoints
62 # in debugger so K8s doesn't restart unresponsive container
63 enabled: true
64
65readiness:
66 initialDelaySeconds: 5
67 periodSeconds: 10
68
69## Persist data to a persitent volume
70persistence:
71 enabled: true
72
73 ## A manually managed Persistent Volume and Claim
74 ## Requires persistence.enabled: true
75 ## If defined, PVC must be created manually before volume will be bound
76 # existingClaim:
77 volumeReclaimPolicy: Retain
78
79 ## database data Persistent Volume Storage Class
80 ## If defined, storageClassName: <storageClass>
81 ## If set to "-", storageClassName: "", which disables dynamic provisioning
82 ## If undefined (the default) or set to null, no storageClassName spec is
83 ## set, choosing the default provisioner. (gp2 on AWS, standard on
84 ## GKE, AWS & OpenStack)
85 accessMode: ReadWriteOnce
86 size: 1Gi
87 mountPath: /dockerdata-nfs
88 mountSubPath: postgres/data
89 mountInitPath: postgres
90
91service:
92 type: ClusterIP
93 name: pgset
94 externalPort: 5432
95 internalPort: 5432
96 type2: ClusterIP
97 name2: pgset-primary
98 externalPort2: 5432
99 internalPort2: 5432
100 type3: ClusterIP
101 name3: pgset-replica
102 externalPort3: 5432
103 internalPort3: 5432
104
105ingress:
106 enabled: false
107
108resources: {}
109 # We usually recommend not to specify default resources and to leave this as a conscious
110 # choice for the user. This also increases chances charts run on environments with little
111 # resources, such as Minikube. If you do want to specify resources, uncomment the following
112 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
113 #
114 # Example:
115 # Configure resource requests and limits
116 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
117 # Minimum memory for development is 2 CPU cores and 4GB memory
118 # Minimum memory for production is 4 CPU cores and 8GB memory
119#resources:
120# limits:
121# cpu: 2
122# memory: 4Gi
123# requests:
124# cpu: 2
125# memory: 4Gi
126