blob: 60b2cfef4f83997ca60a96ef46a4f84405c443c7 [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
sebdet2d1279d2020-08-03 17:22:15 +020024image: mariadb:10.5.4
vaibhav_16decf67e4182018-03-19 05:45:47 +000025pullPolicy: Always
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010026flavor: small
JulienBe26df3202020-04-10 16:50:08 +020027#################################################################
28# Secrets metaconfig
29#################################################################
30secrets:
31 - uid: db-root-pass
32 type: password
33 externalSecret: '{{ tpl (default "" .Values.db.rootCredsExternalSecret) . }}'
34 password: '{{ .Values.db.rootPass }}'
35 - uid: db-secret
36 type: basicAuth
37 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
38 login: '{{ .Values.db.user }}'
39 password: '{{ .Values.db.password }}'
vaibhav_16decf67e4182018-03-19 05:45:47 +000040
JulienBe26df3202020-04-10 16:50:08 +020041# Application configuration
ChrisC2325efd2020-09-11 18:39:23 +020042# dummy value db user pasword to pass lint!!!
43db:
44 user: dummy-clds
45 password: dummy-sidnnd83K
46 databaseName: dummy-cldsdb4
vaibhav_16decf67e4182018-03-19 05:45:47 +000047
48# default number of instances
49replicaCount: 1
50
51nodeSelector: {}
52
53affinity: {}
54
55# probe configuration parameters
56liveness:
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020057 initialDelaySeconds: 30
vaibhav_16decf67e4182018-03-19 05:45:47 +000058 periodSeconds: 10
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020059 timeoutSeconds: 3
vaibhav_16decf67e4182018-03-19 05:45:47 +000060 # necessary to disable liveness probe when setting breakpoints
61 # in debugger so K8s doesn't restart unresponsive container
62 enabled: true
Mandeep Khinda60d36d42018-09-24 15:15:48 +000063
vaibhav_16decf67e4182018-03-19 05:45:47 +000064readiness:
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020065 initialDelaySeconds: 30
vaibhav_16decf67e4182018-03-19 05:45:47 +000066 periodSeconds: 10
Sylvain Desbureauxe9de7f62020-10-14 09:07:14 +020067 timeoutSeconds: 3
vaibhav_16decf67e4182018-03-19 05:45:47 +000068
69## Persist data to a persitent volume
70persistence:
71 enabled: true
72
73 ## A manually managed Persistent Volume and Claim
74 ## Requires persistence.enabled: true
75 ## If defined, PVC must be created manually before volume will be bound
76 # existingClaim:
77 volumeReclaimPolicy: Retain
78
79 ## database data Persistent Volume Storage Class
80 ## If defined, storageClassName: <storageClass>
81 ## If set to "-", storageClassName: "", which disables dynamic provisioning
82 ## If undefined (the default) or set to null, no storageClassName spec is
83 ## set, choosing the default provisioner. (gp2 on AWS, standard on
84 ## GKE, AWS & OpenStack)
85 ##
86 # storageClass: "-"
Sylvain Desbureaux5289a692019-11-05 11:37:08 +010087 accessMode: ReadWriteOnce
vaibhav_16decf67e4182018-03-19 05:45:47 +000088 size: 2Gi
89 mountPath: /dockerdata-nfs
90 mountSubPath: clamp/mariadb/data
91
92service:
93 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000094 name: clampdb
95 portName: clampdb
vaibhav_16decf67e4182018-03-19 05:45:47 +000096 internalPort: 3306
97 externalPort: 3306
98
99
100ingress:
101 enabled: false
102
103
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200104#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000105 # We usually recommend not to specify default resources and to leave this as a conscious
106 # choice for the user. This also increases chances charts run on environments with little
107 # resources, such as Minikube. If you do want to specify resources, uncomment the following
108 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
109 #
110 # Example:
111 # Configure resource requests and limits
112 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
113 # Minimum memory for development is 2 CPU cores and 4GB memory
114 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200115resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100116 small:
117 limits:
118 cpu: 1
119 memory: 500Mi
120 requests:
121 cpu: 10m
122 memory: 200Mi
123 large:
124 limits:
125 cpu: 1
126 memory: 500Mi
127 requests:
128 cpu: 10m
129 memory: 200Mi
130 unlimited: {}