File tree 8 files changed +8
-31
lines changed
8 files changed +8
-31
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,3 @@ Create the name of the service account to use
60
60
{ {- default " default" .Values.serviceAccount.name } }
61
61
{ {- end } }
62
62
{ {- end } }
63
-
64
- { {/* Create the secret name for Aidbox, using existingSecret if set */} }
65
- { {- define " aidbox.secretName" -} }
66
- { {- if .Values.auth.existingSecret -} }
67
- { { .Values.auth.existingSecret } }
68
- { {- else -} }
69
- { { include " aidbox.fullname" . } }
70
- { {- end -} }
71
- { {- end -} }
Original file line number Diff line number Diff line change 32
32
- configMapRef :
33
33
name : {{ include "aidbox.fullname" . }}
34
34
- secretRef :
35
- name : {{ include "aidbox.secretName " . }}
35
+ name : {{ include "aidbox.fullname " . }}
36
36
{{- range .Values.extraEnvFromConfigMaps }}
37
37
- configMapRef :
38
38
name : {{ . }}
Original file line number Diff line number Diff line change 1
- {{- if not .Values.auth.existingSecret -}}
2
1
apiVersion : v1
3
2
kind : Secret
4
3
metadata :
18
17
{{ if .PGUSER }}PGUSER: {{ .PGUSER | b64enc }}{{ end }}
19
18
{{ if .PGPASSWORD }}PGPASSWORD: {{ .PGPASSWORD | b64enc }}{{ end }}
20
19
{{- end }}
21
- {{- end -}}
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ config:
10
10
BOX_METRICS_PORT : 8765
11
11
PGPORT : 5432
12
12
13
- auth :
14
- existingSecret : " "
15
-
16
13
image :
17
14
repository : healthsamurai/aidboxone
18
15
pullPolicy : IfNotPresent
Original file line number Diff line number Diff line change @@ -60,13 +60,3 @@ Create the name of the service account to use
60
60
{ {- default " default" .Values.serviceAccount.name } }
61
61
{ {- end } }
62
62
{ {- end } }
63
-
64
-
65
- { {/* Create the secret name for AidboxDB, using existingSecret if set */} }
66
- { {- define " aidboxdb.secretName" -} }
67
- { {- if .Values.auth.existingSecret -} }
68
- { { .Values.auth.existingSecret } }
69
- { {- else -} }
70
- { { include " aidboxdb.fullname" . } }
71
- { {- end -} }
72
- { {- end -} }
Original file line number Diff line number Diff line change 1
- {{- if not .Values.auth.existingSecret -}}
2
1
apiVersion : v1
3
2
kind : Secret
4
3
metadata :
11
10
POSTGRES_PASSWORD : {{ .POSTGRES_PASSWORD | b64enc }}
12
11
POSTGRES_USER : {{ .POSTGRES_USER | b64enc }}
13
12
{{- end }}
14
- {{- end -}}
Original file line number Diff line number Diff line change 46
46
- configMapRef :
47
47
name : {{ $fullName }}-env
48
48
- secretRef :
49
- name : {{ include "aidboxdb.secretName" . }}
49
+ name : {{ $fullName }}
50
+ {{- range .Values.extraEnvFromSecrets }}
51
+ - secretRef :
52
+ name : {{ . }}
53
+ {{- end }}
50
54
volumeMounts :
51
55
- name : db-pg-config
52
56
mountPath : /etc/configs
Original file line number Diff line number Diff line change 10
10
POSTGRES_USER : postgres
11
11
POSTGRES_DB : postgres
12
12
13
- auth :
14
- existingSecret : " "
15
-
16
13
storage :
17
14
# -- Storage className to use
18
15
className : " "
@@ -50,6 +47,8 @@ securityContext: {}
50
47
# runAsNonRoot: true
51
48
# runAsUser: 1000
52
49
50
+ extraEnvFromSecrets : []
51
+
53
52
# -- Additional volumes
54
53
volumes : []
55
54
# - name: foo
You can’t perform that action at this time.
0 commit comments