Skip to content

Commit

Permalink
add environment secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
mshero committed Nov 20, 2024
1 parent 9d7ba6e commit 5e9e67a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stable/wiremock/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ spec:
value: {{ $value | quote }}
{{- end }}

{{- range $key, $value := .Values.consumer.environment_secret }}
- name: {{ $key }}
valueFrom:
secretKeyRef:
name: {{ template "wiremock.fullname" $ }}
key: {{ $key }}
{{- end }}

{{- if .Values.consumer.args_include_default }}
args:
- --disable-banner
Expand Down

0 comments on commit 5e9e67a

Please sign in to comment.