blob: a5586c6665472a409e4b03ce7b0f759d41e85e50 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +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.
Mike Elliottd32d36e2018-02-12 15:54:03 -050014# Default values for mariadb.
15# This is a YAML-formatted file.
16# Declare variables to be passed into your templates.
jmacc4f04d32018-10-12 18:24:24 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
Mike Elliottd32d36e2018-02-12 15:54:03 -050021 nodePortPrefix: 302
jmacc4f04d32018-10-12 18:24:24 +000022 nodePortPrefixExt: 304
23 repository: nexus3.onap.org:10001
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000024 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000025 readinessImage: readiness-check:2.0.2
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000026 ubuntuInitRepository: registry.hub.docker.com
jmacc4f04d32018-10-12 18:24:24 +000027
28#################################################################
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010029# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: db-root-pass
33 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
34 type: password
35 externalSecret: '{{ .Values.db.rootPasswordExternalSecret }}'
36 password: '{{ .Values.db.rootPassword }}'
37 passwordPolicy: required
38 - uid: db-backup-creds
39 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
40 type: basicAuth
41 externalSecret: '{{ .Values.db.backupCredsExternalSecret }}'
42 login: '{{ .Values.db.backupUser }}'
43 password: '{{ .Values.db.backupPassword }}'
44 passwordPolicy: required
45 annotations:
46 helm.sh/hook: pre-upgrade,pre-install
47 helm.sh/hook-weight: "0"
48 helm.sh/hook-delete-policy: before-hook-creation
49
50#################################################################
jmacc4f04d32018-10-12 18:24:24 +000051# Application configuration defaults.
52#################################################################
Mike Elliottd32d36e2018-02-12 15:54:03 -050053# application image
54repository: nexus3.onap.org:10001
Ramesh Parthasarathya4aaf362019-03-13 20:59:51 +000055image: mariadb:10.1.38
Mike Elliottd32d36e2018-02-12 15:54:03 -050056pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000057ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
jmacc4f04d32018-10-12 18:24:24 +000058
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010059# db config
60db:
61 rootPassword: secretpassword
62 # rootPasswordExternalSecret: some secret
63 backupPassword: secretpassword
64 backupUser: root
65 # backupCredsExternalSecret: some secret
Mike Elliottd32d36e2018-02-12 15:54:03 -050066# application configuration
67config:
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000068 # gerrit branch where the latest heat code is checked in
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +000069 gerritBranch: master
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000070 # gerrit project where the latest heat code is checked in
71 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -050072# default number of instances
Mike Elliottd32d36e2018-02-12 15:54:03 -050073nodeSelector: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050074affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000075
76ingress:
77 enabled: false
78
79# Resource Limit flavor
80flavor: small
81
82resources:
83 small:
84 limits:
85 cpu: 2
86 memory: 4Gi
87 requests:
88 cpu: 1
89 memory: 2Gi
90 large:
91 limits:
92 cpu: 4
93 memory: 8Gi
94 requests:
95 cpu: 2
96 memory: 4Gi
97 unlimited: {}
98
Mike Elliottd32d36e2018-02-12 15:54:03 -050099persistence:
100 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -0500101 ## A manually managed Persistent Volume and Claim
102 ## Requires persistence.enabled: true
103 ## If defined, PVC must be created manually before volume will be bound
104 # existingClaim:
105 volumeReclaimPolicy: Retain
Mike Elliottd32d36e2018-02-12 15:54:03 -0500106 ## database data Persistent Volume Storage Class
107 ## If defined, storageClassName: <storageClass>
108 ## If set to "-", storageClassName: "", which disables dynamic provisioning
109 ## If undefined (the default) or set to null, no storageClassName spec is
110 ## set, choosing the default provisioner. (gp2 on AWS, standard on
111 ## GKE, AWS & OpenStack)
112 ##
113 # storageClass: "-"
114 accessMode: ReadWriteMany
115 size: 2Gi
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000116
Mike Elliottd32d36e2018-02-12 15:54:03 -0500117 mountPath: /dockerdata-nfs
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000118 mountSubPath: so/migration