blob: 09012ead47aa439d3d8b05654602fdbdeee35b55 [file] [log] [blame]
Alexis de Talhouëtf83449d2019-05-09 16:49:30 -04001# Copyright © 2019 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# Default values for mariadb.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18
19global: # global defaults
20 nodePortPrefixExt: 304
21 persistence: {}
22
23# application image
24repository: docker.io
25image: postgres:10.4-alpine
26pullPolicy: Always
27
28# application configuration
29config:
30 postgresUser: awx
31 postgresPassword: awx
32 postgresDB: awx
33
34ingress:
35 enabled: false
36
37# default number of instances
38replicaCount: 1
39
40nodeSelector: {}
41
42affinity: {}
43
44# probe configuration parameters
45liveness:
46 initialDelaySeconds: 10
47 periodSeconds: 10
48 # necessary to disable liveness probe when setting breakpoints
49 # in debugger so K8s doesn't restart unresponsive container
50 enabled: true
51
52readiness:
53 initialDelaySeconds: 10
54 periodSeconds: 10
55
56## Persist data to a persitent volume
57persistence:
58 enabled: true
59 volumeReclaimPolicy: Retain
60
61 # Uncomment the storageClass parameter to use an existing PV
62 # that will match the following class.
63 # When uncomment the storageClass, the PV is not created anymore.
64
65 # storageClass: "nfs-dev-sc"
66
Sylvain Desbureaux18681712019-10-28 14:55:33 +010067 accessMode: ReadWriteOnce
Alexis de Talhouëtf83449d2019-05-09 16:49:30 -040068 size: 1Gi
69
70 # When using storage class, mountPath and mountSubPath are
71 # simply ignored.
72
73 mountPath: /dockerdata-nfs
74 mountSubPath: awx/pgdata
75
76service:
77 type: ClusterIP
78 name: awx-postgresql
79 portName: awx-postgresql
80 internalPort: 5432
81 externalPort: 5432
82
83resources: {}