blob: 33e34fd0868b3d480e4d399daa7b337f84475724 [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:
Andreas Geissler47537432024-02-27 08:55:23 +010062 cpu: "100m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010063 memory: "500Mi"
krishnaa96544863d2021-05-11 18:29:49 +053064 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010065 cpu: "10m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010066 memory: "10Mi"
krishnaa96544863d2021-05-11 18:29:49 +053067 large:
68 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010069 cpu: "200m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010070 memory: "500Mi"
krishnaa96544863d2021-05-11 18:29:49 +053071 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010072 cpu: "20m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010073 memory: "20Mi"
krishnaa96544863d2021-05-11 18:29:49 +053074 unlimited: {}
Andreas Geissler02398152022-05-10 10:30:11 +020075
vladimir turokd8044182023-07-27 16:28:36 +020076#Pods Service Account
77serviceAccount:
78 nameOverride: etcd-init
79 roles:
80 - read
81
Andreas Geissler02398152022-05-10 10:30:11 +020082wait_for_job_container:
83 containers:
84 - '{{ include "common.name" . }}'