1 # Copyright © 2021 Orange
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
25 #################################################################
27 #################################################################
29 - uid: '{{ include "common.postgres.secret.rootPassUID" . }}'
31 externalSecret: '{{ tpl (default "" .Values.config.pgRootPasswordExternalSecret) . }}'
32 password: '{{ .Values.config.pgRootPassword }}'
33 - uid: '{{ include "common.postgres.secret.userCredentialsUID" . }}'
35 externalSecret: '{{ tpl (default "" .Values.config.pgUserExternalSecret) . }}'
36 login: '{{ .Values.config.pgUserName }}'
37 password: '{{ .Values.config.pgUserPassword }}'
38 - uid: '{{ include "common.postgres.secret.primaryPasswordUID" . }}'
40 externalSecret: '{{ tpl (default "" .Values.config.pgPrimaryPasswordExternalSecret) . }}'
41 password: '{{ .Values.config.pgPrimaryPassword }}'
43 #################################################################
44 # Application configuration defaults.
45 #################################################################
49 # application configuration
54 pgRootPasswordExternalSecret: '{{ include "common.namespace" . }}-postgres-db-root-password'
55 # pgPrimaryPassword: password
56 # pgUserPassword: password
57 # pgRootPassword: password
66 # We usually recommend not to specify default resources and to leave this as a conscious
67 # choice for the user. This also increases chances charts run on environments with little
68 # resources, such as Minikube. If you do want to specify resources, uncomment the following
69 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
72 # Configure resource requests and limits
73 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
74 # Minimum memory for development is 2 CPU cores and 4GB memory
75 # Minimum memory for production is 4 CPU cores and 8GB memory
93 wait_for_job_container:
95 - '{{ include "common.name" . }}-update-config'