blob: 8dd5d0aaac3b764b149376b7c4feeab6c995c0de [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
107 externalPort: 5432
108 internalPort: 5432
109 type2: ClusterIP
110 name2: pgset-primary
111 externalPort2: 5432
112 internalPort2: 5432
113 type3: ClusterIP
114 name3: pgset-replica
115 externalPort3: 5432
116 internalPort3: 5432
117
118ingress:
119 enabled: false
120
121resources: {}
122 # We usually recommend not to specify default resources and to leave this as a conscious
123 # choice for the user. This also increases chances charts run on environments with little
124 # resources, such as Minikube. If you do want to specify resources, uncomment the following
125 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
126 #
127 # Example:
128 # Configure resource requests and limits
129 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
130 # Minimum memory for development is 2 CPU cores and 4GB memory
131 # Minimum memory for production is 4 CPU cores and 8GB memory
132#resources:
133# limits:
134# cpu: 2
135# memory: 4Gi
136# requests:
137# cpu: 2
138# memory: 4Gi
139