Update secrets.yaml
This commit is contained in:
parent
536659bee6
commit
bc775098ff
|
@ -7,12 +7,6 @@ metadata:
|
||||||
{{- include "fediblockhole.labels" . | nindent 4 }}
|
{{- include "fediblockhole.labels" . | nindent 4 }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
{{- if .Values.fediblockhole.s3.enabled }}
|
|
||||||
{{- if not .Values.fediblockhole.s3.existingSecret }}
|
|
||||||
AWS_ACCESS_KEY_ID: "{{ .Values.fediblockhole.s3.access_key | b64enc }}"
|
|
||||||
AWS_SECRET_ACCESS_KEY: "{{ .Values.fediblockhole.s3.access_secret | b64enc }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if not .Values.fediblockhole.secrets.existingSecret }}
|
{{- if not .Values.fediblockhole.secrets.existingSecret }}
|
||||||
{{- if not (empty .Values.fediblockhole.secrets.secret_key_base) }}
|
{{- if not (empty .Values.fediblockhole.secrets.secret_key_base) }}
|
||||||
SECRET_KEY_BASE: "{{ .Values.fediblockhole.secrets.secret_key_base | b64enc }}"
|
SECRET_KEY_BASE: "{{ .Values.fediblockhole.secrets.secret_key_base | b64enc }}"
|
||||||
|
|
Loading…
Reference in New Issue