From c05f7aadc50cba9fee88a176776a511bb3a83174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCttler?= Date: Fri, 30 Aug 2024 12:00:31 +0200 Subject: [PATCH] :book: Fix hcloud ccm secret key ref. (#1468) :seedling: Fix hcloud ccm secret key ref. Fixes #1444 Thank you @timkrase for reporting and providing a solution. --- .../02-quickstart/03-creating-a-workload-cluster.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/caph/01-getting-started/02-quickstart/03-creating-a-workload-cluster.md b/docs/caph/01-getting-started/02-quickstart/03-creating-a-workload-cluster.md index 9b6bcab88..deb3e30a7 100644 --- a/docs/caph/01-getting-started/02-quickstart/03-creating-a-workload-cluster.md +++ b/docs/caph/01-getting-started/02-quickstart/03-creating-a-workload-cluster.md @@ -100,11 +100,11 @@ For a cluster without a private network, use the following command: helm repo add hcloud https://charts.hetzner.cloud helm repo update hcloud -KUBECONFIG=$CAPH_WORKER_CLUSTER_KUBECONFIG helm upgrade --install hccm hcloud/hcloud-cloud-controller-manager --version 1.20.0 \ - --namespace kube-system \ - --set secret.name=hetzner \ - --set secret.tokenKeyName=hcloud \ - --set privateNetwork.enabled=false +KUBECONFIG=$CAPH_WORKER_CLUSTER_KUBECONFIG helm upgrade --install hccm hcloud/hcloud-cloud-controller-manager \ + --namespace kube-system \ + --set env.HCLOUD_TOKEN.valueFrom.secretKeyRef.name=hetzner \ + --set env.HCLOUD_TOKEN.valueFrom.secretKeyRef.key=hcloud \ + --set privateNetwork.enabled=false ``` ## Deploying the CSI (optional)