blob: 492145ae073be89f79281ab254e64b5d98ff60c9 [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:
58 initialDelaySeconds: 10
59 periodSeconds: 10
60 # 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:
65 initialDelaySeconds: 10
66 periodSeconds: 10
67
68## Persist data to a persitent volume
69persistence:
70 enabled: true
71
72 ## A manually managed Persistent Volume and Claim
73 ## Requires persistence.enabled: true
74 ## If defined, PVC must be created manually before volume will be bound
75 # existingClaim:
76 volumeReclaimPolicy: Retain
77
78 ## database data Persistent Volume Storage Class
79 ## If defined, storageClassName: <storageClass>
80 ## If set to "-", storageClassName: "", which disables dynamic provisioning
81 ## If undefined (the default) or set to null, no storageClassName spec is
82 ## set, choosing the default provisioner. (gp2 on AWS, standard on
83 ## GKE, AWS & OpenStack)
84 ##
85 # storageClass: "-"
Sylvain Desbureaux5289a692019-11-05 11:37:08 +010086 accessMode: ReadWriteOnce
vaibhav_16decf67e4182018-03-19 05:45:47 +000087 size: 2Gi
88 mountPath: /dockerdata-nfs
89 mountSubPath: clamp/mariadb/data
90
91service:
92 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000093 name: clampdb
94 portName: clampdb
vaibhav_16decf67e4182018-03-19 05:45:47 +000095 internalPort: 3306
96 externalPort: 3306
97
98
99ingress:
100 enabled: false
101
102
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200103#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000104 # We usually recommend not to specify default resources and to leave this as a conscious
105 # choice for the user. This also increases chances charts run on environments with little
106 # resources, such as Minikube. If you do want to specify resources, uncomment the following
107 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
108 #
109 # Example:
110 # Configure resource requests and limits
111 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
112 # Minimum memory for development is 2 CPU cores and 4GB memory
113 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200114resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100115 small:
116 limits:
117 cpu: 1
118 memory: 500Mi
119 requests:
120 cpu: 10m
121 memory: 200Mi
122 large:
123 limits:
124 cpu: 1
125 memory: 500Mi
126 requests:
127 cpu: 10m
128 memory: 200Mi
129 unlimited: {}