diff --git a/README.md b/README.md new file mode 100644 index 0000000..1e09d5b --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# pre-gardenlet diff --git a/charts/pre-gardenlet/Chart.yaml b/charts/pre-gardenlet/Chart.yaml new file mode 100644 index 0000000..1ad5b8a --- /dev/null +++ b/charts/pre-gardenlet/Chart.yaml @@ -0,0 +1,4 @@ +apiVersion: v2 +name: pre-gardenlet +description: A Helm chart for prepairing the gardenlet installation +version: 1.38.2 diff --git a/charts/pre-gardenlet/templates/token.yaml b/charts/pre-gardenlet/templates/token.yaml new file mode 100644 index 0000000..cf6cb08 --- /dev/null +++ b/charts/pre-gardenlet/templates/token.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Secret +metadata: + name: bootstrap-token-{{ .Values.global.token.id }} # last digits must be equal to token-id + namespace: kube-system +type: bootstrap.kubernetes.io/token +stringData: + token-id: "{{ .Values.global.token.id }}" # must be 6 characters + token-secret: "{{ .Values.global.token.secret }}" # 16 characters + usage-bootstrap-authentication: "true" + usage-bootstrap-signing: "true" diff --git a/charts/pre-gardenlet/values.yaml b/charts/pre-gardenlet/values.yaml new file mode 100644 index 0000000..f302f1a --- /dev/null +++ b/charts/pre-gardenlet/values.yaml @@ -0,0 +1,4 @@ +global: + token: + id: "123456" # 6-digit + secret: "1234567890abcdef" # 16-digit