Skip to content

Commit 94fe41c

Browse files
authored
doc: small patch cert-manager doc better experience (envoyproxy#2197)
* small patch cert-manager doc better experience Signed-off-by: Tanuj Dwivedi <[email protected]> * Update tls-cert-manager.md (#1) Signed-off-by: Tanuj Dwivedi <[email protected]> * annotation changed Signed-off-by: tanujd11 <[email protected]> --------- Signed-off-by: Tanuj Dwivedi <[email protected]> Signed-off-by: tanujd11 <[email protected]>
1 parent 99b1642 commit 94fe41c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

site/content/en/latest/user/tls-cert-manager.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ spec:
182182
- kind: Gateway
183183
name: eg
184184
namespace: default
185+
EOF
185186
```
186187

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

211212
```console
212-
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt-staging
213+
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt-staging
213214
```
214215

215216
The Gateway should be picked up by cert-manager, which will create a new certificate for you, and replace the Secret.
@@ -262,12 +263,13 @@ spec:
262263
- kind: Gateway
263264
name: eg
264265
namespace: default
266+
EOF
265267
```
266268

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

269271
```console
270-
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt
272+
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt
271273
```
272274

273275
As before, track it by looking at CertificateRequests.

site/content/en/v0.6.0/user/tls-cert-manager.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ spec:
182182
- kind: Gateway
183183
name: eg
184184
namespace: default
185+
EOF
185186
```
186187

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

211212
```console
212-
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt-staging
213+
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt-staging
213214
```
214215

215216
The Gateway should be picked up by cert-manager, which will create a new certificate for you, and replace the Secret.
@@ -262,12 +263,13 @@ spec:
262263
- kind: Gateway
263264
name: eg
264265
namespace: default
266+
EOF
265267
```
266268

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

269271
```console
270-
$ kubectl annotate --overwrite gateway/eg cert-manager.io/clusterissuer=letsencrypt
272+
$ kubectl annotate --overwrite gateway/eg cert-manager.io/cluster-issuer=letsencrypt
271273
```
272274

273275
As before, track it by looking at CertificateRequests.

0 commit comments

Comments
 (0)