blob: 2a90e8480c8cdf930dbc46575990e18f6af45502 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
ChrisC0d2232e2019-04-15 13:28:48 +02002# Modifications Copyright © 2018-2019 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
vaibhav_16decf67e4182018-03-19 05:45:47 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global: # global defaults
20 nodePortPrefix: 302
vaibhav_16decf67e4182018-03-19 05:45:47 +000021
22 persistence: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +000023# application image
sebdet40008302020-07-29 16:30:50 +020024repository: docker.io
ChrisC0d2232e2019-04-15 13:28:48 +020025image: mariadb:10.3.12
vaibhav_16decf67e4182018-03-19 05:45:47 +000026pullPolicy: Always
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010027flavor: small
JulienBe26df3202020-04-10 16:50:08 +020028#################################################################
29# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: db-root-pass
33 type: password
34 externalSecret: '{{ tpl (default "" .Values.db.rootCredsExternalSecret) . }}'
35 password: '{{ .Values.db.rootPass }}'
36 - uid: db-secret
37 type: basicAuth
38 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
39 login: '{{ .Values.db.user }}'
40 password: '{{ .Values.db.password }}'
vaibhav_16decf67e4182018-03-19 05:45:47 +000041
JulienBe26df3202020-04-10 16:50:08 +020042# Application configuration
43db: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +000044
45# default number of instances
46replicaCount: 1
47
48nodeSelector: {}
49
50affinity: {}
51
52# probe configuration parameters
53liveness:
54 initialDelaySeconds: 10
55 periodSeconds: 10
56 # necessary to disable liveness probe when setting breakpoints
57 # in debugger so K8s doesn't restart unresponsive container
58 enabled: true
Mandeep Khinda60d36d42018-09-24 15:15:48 +000059
vaibhav_16decf67e4182018-03-19 05:45:47 +000060readiness:
61 initialDelaySeconds: 10
62 periodSeconds: 10
63
64## Persist data to a persitent volume
65persistence:
66 enabled: true
67
68 ## A manually managed Persistent Volume and Claim
69 ## Requires persistence.enabled: true
70 ## If defined, PVC must be created manually before volume will be bound
71 # existingClaim:
72 volumeReclaimPolicy: Retain
73
74 ## database data Persistent Volume Storage Class
75 ## If defined, storageClassName: <storageClass>
76 ## If set to "-", storageClassName: "", which disables dynamic provisioning
77 ## If undefined (the default) or set to null, no storageClassName spec is
78 ## set, choosing the default provisioner. (gp2 on AWS, standard on
79 ## GKE, AWS & OpenStack)
80 ##
81 # storageClass: "-"
Sylvain Desbureaux5289a692019-11-05 11:37:08 +010082 accessMode: ReadWriteOnce
vaibhav_16decf67e4182018-03-19 05:45:47 +000083 size: 2Gi
84 mountPath: /dockerdata-nfs
85 mountSubPath: clamp/mariadb/data
86
87service:
88 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000089 name: clampdb
90 portName: clampdb
vaibhav_16decf67e4182018-03-19 05:45:47 +000091 internalPort: 3306
92 externalPort: 3306
93
94
95ingress:
96 enabled: false
97
98
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +020099#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000100 # We usually recommend not to specify default resources and to leave this as a conscious
101 # choice for the user. This also increases chances charts run on environments with little
102 # resources, such as Minikube. If you do want to specify resources, uncomment the following
103 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
104 #
105 # Example:
106 # Configure resource requests and limits
107 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
108 # Minimum memory for development is 2 CPU cores and 4GB memory
109 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200110resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100111 small:
112 limits:
113 cpu: 1
114 memory: 500Mi
115 requests:
116 cpu: 10m
117 memory: 200Mi
118 large:
119 limits:
120 cpu: 1
121 memory: 500Mi
122 requests:
123 cpu: 10m
124 memory: 200Mi
125 unlimited: {}