Skip to content

Commit

Permalink
Adding secret type | generic 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed Jun 25, 2024
1 parent 2539993 commit 917f349
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: generic
description: Generic Chart
version: 1.6.3
version: 1.7.0
2 changes: 1 addition & 1 deletion charts/generic/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
{{- with .annotations }}
annotations: {{ toYaml . | nindent 4 }}
{{- end }}
type: Opaque
type: {{ .type | default "Opaque" }}
data:
{{- range $key, $value := $secret.data }}
{{ $key }}: {{ $value | b64enc | quote }}
Expand Down
1 change: 1 addition & 0 deletions charts/generic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ rollme: false

# secrets:
# - name: env
# # type: Opaque
# data:
# SOME_ENV: "example"

Expand Down

0 comments on commit 917f349

Please sign in to comment.