From 44a3cf86d36181d1843f850256df4f198c8134ad Mon Sep 17 00:00:00 2001 From: Scott Rigby Date: Thu, 3 Sep 2020 10:38:44 -0400 Subject: [PATCH] Docs: fix gotk create helmrelease examples Signed-off-by: Scott Rigby --- docs/guides/installation.md | 6 +++--- docs/guides/sealed-secrets.md | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/guides/installation.md b/docs/guides/installation.md index 84fb4a4978..0bf291ced5 100644 --- a/docs/guides/installation.md +++ b/docs/guides/installation.md @@ -324,9 +324,9 @@ gotk create helmrelease sealed-secrets \ --interval=1h \ --release-name=sealed-secrets \ --target-namespace=gitops-system \ ---source=stable \ ---chart-name=sealed-secrets \ ---chart-version="^1.10.0" +--source=HelmRepository/stable \ +--chart=sealed-secrets \ +--chart-version="1.10.x" ``` ### Monitoring with Prometheus and Grafana diff --git a/docs/guides/sealed-secrets.md b/docs/guides/sealed-secrets.md index bac5a31932..f3ab30ac9d 100644 --- a/docs/guides/sealed-secrets.md +++ b/docs/guides/sealed-secrets.md @@ -50,13 +50,13 @@ gotk create helmrelease sealed-secrets \ --interval=1h \ --release-name=sealed-secrets \ --target-namespace=gitops-system \ ---source=stable \ ---chart-name=sealed-secrets \ ---chart-version="^1.10.0" +--source=HelmRepository/stable \ +--chart=sealed-secrets \ +--chart-version="1.10.x" ``` -With chart version `^1.10.0` we configure helm-controller to automatically upgrade the release -when a new chart version is fetch by source-controller. +With chart version `1.10.x` we configure helm-controller to automatically upgrade the release +when a new chart patch version is fetched by source-controller. At startup, the sealed-secrets controller generates a 4096-bit RSA key pair and persists the private and public keys as Kubernetes secrets in the `gitops-system` namespace. @@ -102,7 +102,7 @@ kubectl apply -f basic-auth-sealed.yaml Verify that the sealed-secrets controller has created the `basic-auth` Kubernetes Secret: ```console -$ kubectl -n default get secrets basic-auth +$ kubectl -n default get secrets basic-auth NAME TYPE DATA AGE basic-auth Opaque 2 1m43s