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

Commit

Permalink
Provides a way to place generic secrets in the gardener apiserver
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 1, 2023
1 parent 3d099a8 commit 40083bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 prepairing the gardenlet installation
version: 1.38.2
description: A Helm chart for preparing the gardenlet installation
version: 1.40.0
9 changes: 9 additions & 0 deletions charts/pre-gardenlet/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{- range .Values.global.additionalSecrets }}
apiVersion: v1
kind: Secret
metadata:
name: {{ .name }}
namespace: {{ .namespace }}
stringData:
{{- toYaml .stringData | nindent 2 }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/pre-gardenlet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ global:
token:
id: "12345a" # 6-digit
secret: "1234567890abcdef" # 16-digit
# additionalSecrets:
# - name: testsecret
# namespace: testsecretnamespace
# stringData:
# test: test
# test2: test

0 comments on commit 40083bb

Please sign in to comment.