Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / clamp / components / clamp-mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 AT&T
3 #
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
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global: # global defaults
20   nodePortPrefix: 302
21
22   persistence: {}
23 # application image
24 image: mariadb:10.5.4
25 pullPolicy: Always
26 flavor: small
27 #################################################################
28 # Secrets metaconfig
29 #################################################################
30 secrets:
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 }}'
40
41 # Application configuration
42 # dummy value db user pasword to pass lint!!!
43 db:
44   user: dummy-clds
45   password: dummy-sidnnd83K
46   databaseName: dummy-cldsdb4
47
48 # default number of instances
49 replicaCount: 1
50
51 nodeSelector: {}
52
53 affinity: {}
54
55 # probe configuration parameters
56 liveness:
57   initialDelaySeconds: 30
58   periodSeconds: 10
59   timeoutSeconds: 3
60   # necessary to disable liveness probe when setting breakpoints
61   # in debugger so K8s doesn't restart unresponsive container
62   enabled: true
63
64 readiness:
65   initialDelaySeconds: 30
66   periodSeconds: 10
67   timeoutSeconds: 3
68
69 ## Persist data to a persitent volume
70 persistence:
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: "-"
87   accessMode: ReadWriteOnce
88   size: 2Gi
89   mountPath: /dockerdata-nfs
90   mountSubPath: clamp/mariadb/data
91
92 service:
93   type: ClusterIP
94   name: clampdb
95   portName: clampdb
96   internalPort: 3306
97   externalPort: 3306
98
99
100 ingress:
101   enabled: false
102
103
104 #resources: {}
105   # 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
115 resources:
116   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: {}