Skip to content

Commit

Permalink
Merge pull request #200 from scottrigby/docs-gotk-create-hr-fix
Browse files Browse the repository at this point in the history
Docs: fix gotk create helmrelease examples
  • Loading branch information
hiddeco authored Sep 3, 2020
2 parents dfb0a40 + 44a3cf8 commit 6b397cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/guides/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions docs/guides/sealed-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6b397cf

Please sign in to comment.