blob: 06127e3a1f94ea6d3668b21c502332c3678f343b [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
20 nodePortPrefix: 302
21 persistence: {}
22
23# application image
24repository: docker.io
25image: postgres:10.2-alpine
26pullPolicy: 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
59
60 ## A manually managed Persistent Volume and Claim
61 ## Requires persistence.enabled: true
62 ## If defined, PVC must be created manually before volume will be bound
63 # existingClaim:
64 volumeReclaimPolicy: Retain
65
66 ## database data Persistent Volume Storage Class
67 ## If defined, storageClassName: <storageClass>
68 ## If set to "-", storageClassName: "", which disables dynamic provisioning
69 ## If undefined (the default) or set to null, no storageClassName spec is
70 ## set, choosing the default provisioner. (gp2 on AWS, standard on
71 ## GKE, AWS & OpenStack)
72 ##
73 # storageClass: "-"
74 accessMode: ReadWriteMany
75 size: 1Gi
76 mountPath: /dockerdata-nfs
77 mountSubPath: netbox/postgres/data
78service:
79 type: ClusterIP
80 name: netbox-postgres
81 portName: netbox-postgres
82 internalPort: 5432
83 externalPort: 5432
84
85resources: {}