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