Merge "Add champ subchart to oom aai"
[oom.git] / kubernetes / so / charts / mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # Default values for mariadb.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
19   nodePortPrefix: 302
20   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
21   persistence: {}
22
23
24 # application image
25 repository: nexus3.onap.org:10001
26 image: mariadb:10.1.11
27 pullPolicy: Always
28
29 # application configuration
30 config:
31   mariadbRootPassword: password
32
33 # override chart name (mariadb) to share a common namespace
34 # suffix with parent chart (so)
35 nsSuffix: so
36
37
38 # default number of instances
39 replicaCount: 1
40
41 nodeSelector: {}
42
43 affinity: {}
44
45 # probe configuration parameters
46 liveness:
47   initialDelaySeconds: 10
48   periodSeconds: 10
49   # necessary to disable liveness probe when setting breakpoints
50   # in debugger so K8s doesn't restart unresponsive container
51   enabled: true
52
53 readiness:
54   initialDelaySeconds: 10
55   periodSeconds: 10
56
57 ## Persist data to a persitent volume
58 persistence:
59   enabled: true
60   
61   ## A manually managed Persistent Volume and Claim
62   ## Requires persistence.enabled: true
63   ## If defined, PVC must be created manually before volume will be bound
64   # existingClaim:
65   volumeReclaimPolicy: Retain
66
67   ## database data Persistent Volume Storage Class
68   ## If defined, storageClassName: <storageClass>
69   ## If set to "-", storageClassName: "", which disables dynamic provisioning
70   ## If undefined (the default) or set to null, no storageClassName spec is
71   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
72   ##   GKE, AWS & OpenStack)
73   ##
74   # storageClass: "-"
75   accessMode: ReadWriteMany
76   size: 2Gi
77   mountPath: /dockerdata-nfs
78   mountSubPath: mso/mariadb/data
79
80 service:
81   type: NodePort
82   name: mariadb
83   externalPort: 52
84   internalPort: 3306
85
86 ingress:
87   enabled: false
88
89 resources: {}
90   # We usually recommend not to specify default resources and to leave this as a conscious
91   # choice for the user. This also increases chances charts run on environments with little
92   # resources, such as Minikube. If you do want to specify resources, uncomment the following
93   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
94   #
95   # Example:
96   # Configure resource requests and limits
97   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
98   # Minimum memory for development is 2 CPU cores and 4GB memory 
99   # Minimum memory for production is 4 CPU cores and 8GB memory 
100 #resources:
101 #  limits:
102 #    cpu: 2
103 #    memory: 4Gi
104 #  requests:
105 #    cpu: 2
106 #    memory: 4Gi