[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 repository: docker.io
25 image: mariadb:10.5.4
26 pullPolicy: Always
27 flavor: small
28 #################################################################
29 # Secrets metaconfig
30 #################################################################
31 secrets:
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 }}'
41
42 # Application configuration
43 # dummy value db user pasword to pass lint!!!
44 db:
45   user: dummy-clds
46   password: dummy-sidnnd83K
47   databaseName: dummy-cldsdb4
48
49 # default number of instances
50 replicaCount: 1
51
52 nodeSelector: {}
53
54 affinity: {}
55
56 # probe configuration parameters
57 liveness:
58   initialDelaySeconds: 30
59   periodSeconds: 10
60   timeoutSeconds: 3
61   # necessary to disable liveness probe when setting breakpoints
62   # in debugger so K8s doesn't restart unresponsive container
63   enabled: true
64
65 readiness:
66   initialDelaySeconds: 30
67   periodSeconds: 10
68   timeoutSeconds: 3
69
70 ## Persist data to a persitent volume
71 persistence:
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: "-"
88   accessMode: ReadWriteOnce
89   size: 2Gi
90   mountPath: /dockerdata-nfs
91   mountSubPath: clamp/mariadb/data
92
93 service:
94   type: ClusterIP
95   name: clampdb
96   portName: clampdb
97   internalPort: 3306
98   externalPort: 3306
99
100
101 ingress:
102   enabled: false
103
104
105 #resources: {}
106   # 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
116 resources:
117   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: {}