Skip to content

Commit

Permalink
doc: small patch cert-manager doc better experience (#2197)
Browse files Browse the repository at this point in the history
* small patch cert-manager doc better experience

Signed-off-by: Tanuj Dwivedi <dwiveditanuj41@gmail.com>

* Update tls-cert-manager.md (#1)

Signed-off-by: Tanuj Dwivedi <dwiveditanuj41@gmail.com>

* annotation changed

Signed-off-by: tanujd11 <dwiveditanuj41@gmail.com>

---------

Signed-off-by: Tanuj Dwivedi <dwiveditanuj41@gmail.com>
Signed-off-by: tanujd11 <dwiveditanuj41@gmail.com>
  • Loading branch information
tanujd11 authored Nov 16, 2023
1 parent 99b1642 commit 94fe41c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions site/content/en/latest/user/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ spec:
- kind: Gateway
name: eg
namespace: default
EOF
```

The important parts are
Expand Down Expand Up @@ -209,7 +210,7 @@ Status:
Now we're ready to update the Gateway annotation to use this issuer instead:

```console
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt-staging
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt-staging
```

The Gateway should be picked up by cert-manager, which will create a new certificate for you, and replace the Secret.
Expand Down Expand Up @@ -262,12 +263,13 @@ spec:
- kind: Gateway
name: eg
namespace: default
EOF
```

And now you can update the Gateway listener to point to `letsencrypt` instead:

```console
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt
```

As before, track it by looking at CertificateRequests.
Expand Down
6 changes: 4 additions & 2 deletions site/content/en/v0.6.0/user/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ spec:
- kind: Gateway
name: eg
namespace: default
EOF
```

The important parts are
Expand Down Expand Up @@ -209,7 +210,7 @@ Status:
Now we're ready to update the Gateway annotation to use this issuer instead:

```console
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt-staging
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt-staging
```

The Gateway should be picked up by cert-manager, which will create a new certificate for you, and replace the Secret.
Expand Down Expand Up @@ -262,12 +263,13 @@ spec:
- kind: Gateway
name: eg
namespace: default
EOF
```

And now you can update the Gateway listener to point to `letsencrypt` instead:

```console
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt
```

As before, track it by looking at CertificateRequests.
Expand Down

0 comments on commit 94fe41c

Please sign in to comment.