blob: c7ecea59f165ee7acbd7751bf70c58d69096e488 [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# 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.
18global: # global defaults
19 nodePortPrefix: 302
20 repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
21 persistence: {}
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040022 readinessRepository: oomk8s
Mandeep Khinda1d123882018-03-27 01:26:59 +000023
24
25# application image
26repository: nexus3.onap.org:10001
Mandeep Khinda1db773e2018-04-05 18:26:07 +000027image: onap/portal-db:2.1-STAGING-latest
Mandeep Khinda1d123882018-03-27 01:26:59 +000028pullPolicy: Always
29
BorislavG3d6f9372018-04-15 11:55:39 +000030readinessImage: "readiness-check:2.0.0"
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040031mariadbInitImage: "mariadb-client-init:2.0.0"
Mandeep Khinda1db773e2018-04-05 18:26:07 +000032
Mandeep Khinda1d123882018-03-27 01:26:59 +000033# application configuration
34config:
Mandeep Khinda1db773e2018-04-05 18:26:07 +000035 mariadbUser: root
Mandeep Khinda1d123882018-03-27 01:26:59 +000036 mariadbRootPassword: Aa123456
Mandeep Khinda1db773e2018-04-05 18:26:07 +000037 #The directory where sql files are found in the projects gerrit repo.
38 sqlSourceDirectory: portal/deliveries
Mandeep Khinda1d123882018-03-27 01:26:59 +000039
40
41# default number of instances
42replicaCount: 1
43
44nodeSelector: {}
45
46affinity: {}
47
48# probe configuration parameters
49liveness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52 # necessary to disable liveness probe when setting breakpoints
53 # in debugger so K8s doesn't restart unresponsive container
54 enabled: true
55
56readiness:
57 initialDelaySeconds: 10
58 periodSeconds: 10
59
60## Persist data to a persitent volume
61persistence:
62 enabled: true
63
64 ## A manually managed Persistent Volume and Claim
65 ## Requires persistence.enabled: true
66 ## If defined, PVC must be created manually before volume will be bound
67 # existingClaim:
68 volumeReclaimPolicy: Retain
69
70 ## database data Persistent Volume Storage Class
71 ## If defined, storageClassName: <storageClass>
72 ## If set to "-", storageClassName: "", which disables dynamic provisioning
73 ## If undefined (the default) or set to null, no storageClassName spec is
74 ## set, choosing the default provisioner. (gp2 on AWS, standard on
75 ## GKE, AWS & OpenStack)
76 ##
77 # storageClass: "-"
78 accessMode: ReadWriteMany
79 size: 2Gi
80 mountPath: /dockerdata-nfs
81 mountSubPath: portal/mariadb/data
82
83service:
84 type: ClusterIP
85 name: mariadb
86 externalPort: 3306
87 internalPort: 3306
88
89ingress:
90 enabled: false
91
92resources: {}
93 # We usually recommend not to specify default resources and to leave this as a conscious
94 # choice for the user. This also increases chances charts run on environments with little
95 # resources, such as Minikube. If you do want to specify resources, uncomment the following
96 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
97 #
98 # Example:
99 # Configure resource requests and limits
100 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
101 # Minimum memory for development is 2 CPU cores and 4GB memory
102 # Minimum memory for production is 4 CPU cores and 8GB memory
103#resources:
104# limits:
105# cpu: 2
106# memory: 4Gi
107# requests:
108# cpu: 2
109# memory: 4Gi