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: |
| 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 Geissler | 0239815 | 2022-05-10 10:30:11 +0200 | [diff] [blame] | 75 | |
| 76 | wait_for_job_container: |
| 77 | containers: |
| 78 | - '{{ include "common.name" . }}' |