From 8bbb6c9562756ba7ae4f64d8badd45104ccd1a3b Mon Sep 17 00:00:00 2001 From: Carl-Christian Sautter <35969382+csautter@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:40:56 +0100 Subject: [PATCH] docs: README.md - fix secret name Copy and pasting the current docs does not lead to a successful installation of the helm chart if you use the . You have to change the helm value to meet the kubectl command `stackitSaAuthentication.secretName = "stackit-cert-manager-webhook"`. As an alternative i would propose a consistent naming for both secret types as it is treaded equal in the helm chart. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb8d257..f2436e5 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,14 @@ helm install stackit-cert-manager-webhook --namespace cert-manager stackit-cert- 1. ***Initiation of STACKIT Authentication Token Secret:*** ```bash - kubectl create secret generic stackit-cert-manager-webhook \ - --namespace=cert-manager \ + kubectl create secret generic stackit-sa-authentication \ + -n cert-manager \ --from-literal=auth-token= ``` Or alternatively we can utilize the STACKIT service account path authentication: ``` - kubectl create secret generic stackit-sa-authentication -n cert-manager \ + kubectl create secret generic stackit-sa-authentication \ + -n cert-manager \ --from-literal=sa.json='{ "id": "4e1fe486-b463-4bcd-9210-288854268e34", "publicKey": "-----BEGIN PUBLIC KEY-----\nPUBLIC_KEY\n-----END PUBLIC KEY-----",