blob: f9a31b6b8605c5f5fb81cd0113612afb67367f4c [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
sebdet2d1279d2020-08-03 17:22:15 +020025image: mariadb:10.5.4
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
ChrisC2325efd2020-09-11 18:39:23 +020043# dummy value db user pasword to pass lint!!!
44db:
45 user: dummy-clds
46 password: dummy-sidnnd83K
47 databaseName: dummy-cldsdb4
vaibhav_16decf67e4182018-03-19 05:45:47 +000048
49# default number of instances
50replicaCount: 1
51
52nodeSelector: {}
53
54affinity: {}
55
56# probe configuration parameters
57liveness:
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020058 initialDelaySeconds: 30
vaibhav_16decf67e4182018-03-19 05:45:47 +000059 periodSeconds: 10
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020060 timeoutSeconds: 3
vaibhav_16decf67e4182018-03-19 05:45:47 +000061 # necessary to disable liveness probe when setting breakpoints
62 # in debugger so K8s doesn't restart unresponsive container
63 enabled: true
Mandeep Khinda60d36d42018-09-24 15:15:48 +000064
vaibhav_16decf67e4182018-03-19 05:45:47 +000065readiness:
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020066 initialDelaySeconds: 30
vaibhav_16decf67e4182018-03-19 05:45:47 +000067 periodSeconds: 10
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020068 timeoutSeconds: 3
vaibhav_16decf67e4182018-03-19 05:45:47 +000069
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 ##
87 # storageClass: "-"
Sylvain Desbureaux5289a692019-11-05 11:37:08 +010088 accessMode: ReadWriteOnce
vaibhav_16decf67e4182018-03-19 05:45:47 +000089 size: 2Gi
90 mountPath: /dockerdata-nfs
91 mountSubPath: clamp/mariadb/data
92
93service:
94 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000095 name: clampdb
96 portName: clampdb
vaibhav_16decf67e4182018-03-19 05:45:47 +000097 internalPort: 3306
98 externalPort: 3306
99
100
101ingress:
102 enabled: false
103
104
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200105#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000106 # We usually recommend not to specify default resources and to leave this as a conscious
107 # choice for the user. This also increases chances charts run on environments with little
108 # resources, such as Minikube. If you do want to specify resources, uncomment the following
109 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
110 #
111 # Example:
112 # Configure resource requests and limits
113 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
114 # Minimum memory for development is 2 CPU cores and 4GB memory
115 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200116resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100117 small:
118 limits:
119 cpu: 1
120 memory: 500Mi
121 requests:
122 cpu: 10m
123 memory: 200Mi
124 large:
125 limits:
126 cpu: 1
127 memory: 500Mi
128 requests:
129 cpu: 10m
130 memory: 200Mi
131 unlimited: {}