Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Adds ability use the data field of secretes
Browse files Browse the repository at this point in the history
Signed-off-by: Malte Münch <[email protected]>
  • Loading branch information
mxmxchere committed Mar 6, 2023
1 parent 40083bb commit 16a0e1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/pre-gardenlet/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: pre-gardenlet
description: A Helm chart for preparing the gardenlet installation
version: 1.40.0
version: 1.41.0
2 changes: 2 additions & 0 deletions charts/pre-gardenlet/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Secret
metadata:
name: {{ .name }}
namespace: {{ .namespace }}
data:
{{- toYaml .data | nindent 2 }}
stringData:
{{- toYaml .stringData | nindent 2 }}
{{- end }}
13 changes: 7 additions & 6 deletions charts/pre-gardenlet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ global:
token:
id: "12345a" # 6-digit
secret: "1234567890abcdef" # 16-digit
# additionalSecrets:
# - name: testsecret
# namespace: testsecretnamespace
# stringData:
# test: test
# test2: test
additionalSecrets:
- name: testsecret
namespace: testsecretnamespace
stringData:
test2: test
data:
test: dGVzdAo=

0 comments on commit 16a0e1b

Please sign in to comment.