krishnaa96 | 544863d | 2021-05-11 18:29:49 +0530 | [diff] [blame] | 1 | # 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 | ################################################################# |
| 18 | global: {} |
| 19 | |
| 20 | ################################################################# |
| 21 | # Secrets metaconfig |
| 22 | ################################################################# |
| 23 | secrets: |
| 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 | |
| 38 | image: bitnami/etcd:3.3.15 |
| 39 | pullPolicy: Always |
| 40 | backoffLimit: 20 |
| 41 | |
| 42 | nodeSelector: {} |
| 43 | |
| 44 | affinity: {} |
| 45 | |
| 46 | etcd: |
| 47 | serviceName: k8s-etcd |
| 48 | port : 2379 |
| 49 | containerName: k8s-etcd |
| 50 | |
| 51 | config: |
| 52 | userRootSecret: root |
| 53 | # userCredentialsExternalSecret: |
| 54 | appUser: user |
| 55 | appRole: role |
| 56 | keyPrefix: key |
| 57 | |
| 58 | flavor: small |
| 59 | resources: |
| 60 | small: |
| 61 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 62 | cpu: "100m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame^] | 63 | memory: "500Mi" |
krishnaa96 | 544863d | 2021-05-11 18:29:49 +0530 | [diff] [blame] | 64 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 65 | cpu: "10m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame^] | 66 | memory: "10Mi" |
krishnaa96 | 544863d | 2021-05-11 18:29:49 +0530 | [diff] [blame] | 67 | large: |
| 68 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 69 | cpu: "200m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame^] | 70 | memory: "500Mi" |
krishnaa96 | 544863d | 2021-05-11 18:29:49 +0530 | [diff] [blame] | 71 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 72 | cpu: "20m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame^] | 73 | memory: "20Mi" |
krishnaa96 | 544863d | 2021-05-11 18:29:49 +0530 | [diff] [blame] | 74 | unlimited: {} |
Andreas Geissler | 0239815 | 2022-05-10 10:30:11 +0200 | [diff] [blame] | 75 | |
vladimir turok | d804418 | 2023-07-27 16:28:36 +0200 | [diff] [blame] | 76 | #Pods Service Account |
| 77 | serviceAccount: |
| 78 | nameOverride: etcd-init |
| 79 | roles: |
| 80 | - read |
| 81 | |
Andreas Geissler | 0239815 | 2022-05-10 10:30:11 +0200 | [diff] [blame] | 82 | wait_for_job_container: |
| 83 | containers: |
| 84 | - '{{ include "common.name" . }}' |