[COMMON] new logConfiguration chart
[oom.git] / kubernetes / clamp / charts / 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: nexus3.onap.org:10001
25 image: mariadb:10.3.12
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 db: {}
44
45 # default number of instances
46 replicaCount: 1
47
48 nodeSelector: {}
49
50 affinity: {}
51
52 # probe configuration parameters
53 liveness:
54   initialDelaySeconds: 10
55   periodSeconds: 10
56   # necessary to disable liveness probe when setting breakpoints
57   # in debugger so K8s doesn't restart unresponsive container
58   enabled: true
59
60 readiness:
61   initialDelaySeconds: 10
62   periodSeconds: 10
63
64 ## Persist data to a persitent volume
65 persistence:
66   enabled: true
67
68   ## A manually managed Persistent Volume and Claim
69   ## Requires persistence.enabled: true
70   ## If defined, PVC must be created manually before volume will be bound
71   # existingClaim:
72   volumeReclaimPolicy: Retain
73
74   ## database data Persistent Volume Storage Class
75   ## If defined, storageClassName: <storageClass>
76   ## If set to "-", storageClassName: "", which disables dynamic provisioning
77   ## If undefined (the default) or set to null, no storageClassName spec is
78   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
79   ##   GKE, AWS & OpenStack)
80   ##
81   # storageClass: "-"
82   accessMode: ReadWriteOnce
83   size: 2Gi
84   mountPath: /dockerdata-nfs
85   mountSubPath: clamp/mariadb/data
86
87 service:
88   type: ClusterIP
89   name: clampdb
90   portName: clampdb
91   internalPort: 3306
92   externalPort: 3306
93
94
95 ingress:
96   enabled: false
97
98
99 #resources: {}
100   # We usually recommend not to specify default resources and to leave this as a conscious
101   # choice for the user. This also increases chances charts run on environments with little
102   # resources, such as Minikube. If you do want to specify resources, uncomment the following
103   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
104   #
105   # Example:
106   # Configure resource requests and limits
107   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
108   # Minimum memory for development is 2 CPU cores and 4GB memory
109   # Minimum memory for production is 4 CPU cores and 8GB memory
110 resources:
111   small:
112     limits:
113       cpu: 1
114       memory: 500Mi
115     requests:
116       cpu: 10m
117       memory: 200Mi
118   large:
119     limits:
120       cpu: 1
121       memory: 500Mi
122     requests:
123       cpu: 10m
124       memory: 200Mi
125   unlimited: {}