blob: 6ccfb3e5d7d87686ad56ee88351e868b3ccb9b33 [file] [log] [blame]
krishnaa96544863d2021-05-11 18:29:49 +05301# Copyright (C) 2021 Wipro Limited.
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#################################################################
16# Global configuration defaults.
17#################################################################
18global: {}
19
20#################################################################
21# Secrets metaconfig
22#################################################################
23secrets:
24 - uid: root-password
25 type: password
26 externalSecret: '{{ tpl (default "" .Values.config.userRootSecret) . }}'
27 password: '{{ .Values.config.userRootPassword }}'
28 - uid: app-creds
29 type: basicAuth
30 externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}'
31 login: '{{ .Values.config.appUser }}'
32 password: '{{ .Values.config.appPassword }}'
33
34#################################################################
35# Application configuration defaults.
36#################################################################
37
38image: bitnami/etcd:3.3.15
39pullPolicy: Always
40backoffLimit: 20
41
42nodeSelector: {}
43
44affinity: {}
45
46etcd:
47 serviceName: k8s-etcd
48 port : 2379
49 containerName: k8s-etcd
50
51config:
52 userRootSecret: root
53# userCredentialsExternalSecret:
54 appUser: user
55 appRole: role
56 keyPrefix: key
57
58flavor: small
59resources:
60 small:
61 limits:
62 cpu: 100m
63 memory: 500Mi
64 requests:
65 cpu: 10m
66 memory: 10Mi
67 large:
68 limits:
69 cpu: 200m
70 memory: 500Mi
71 requests:
72 cpu: 20m
73 memory: 20Mi
74 unlimited: {}
Andreas Geissler02398152022-05-10 10:30:11 +020075
76wait_for_job_container:
77 containers:
78 - '{{ include "common.name" . }}'