blob: 1db24571717db5b96795d65309c7694cd0a10c9b [file] [log] [blame]
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -04001# Copyright © 2018 Amdocs, 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
Alexis de Talhouët9a6e9b52018-09-18 10:32:39 -040020 nodePortPrefixExt: 304
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040021 persistence: {}
22
23# application image
24repository: docker.io
Alexis de Talhouët4ba6aaa2019-03-13 09:58:44 -040025image: postgres:10.4-alpine
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040026pullPolicy: Always
27
28# application configuration
29config:
30 postgresUser: netbox
31 postgresPassword: J5brHrAXFLQSif0K
32 postgresDB: netbox
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
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040059 volumeReclaimPolicy: Retain
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040060
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
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040068 size: 1Gi
Alexis de Talhouët8f0d2e82018-08-17 13:57:47 -040069
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040070 # When using storage class, mountPath and mountSubPath are
71 # simply ignored.
72
73 mountPath: /dockerdata-nfs
74 mountSubPath: netbox/postgres/data
75
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040076service:
77 type: ClusterIP
78 name: netbox-postgres
79 portName: netbox-postgres
80 internalPort: 5432
81 externalPort: 5432
82
83resources: {}