Skip to content

Commit

Permalink
docs: fix patch command adding TLS gateway listener
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Coakley <[email protected]>
  • Loading branch information
Dean-Coakley committed Sep 23, 2024
1 parent 2bd27dd commit 0b4539a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions site/content/en/docs/tasks/security/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
We now have to patch the example Gateway to reference cert-manager:

```console
$ kubectl patch gateway/eg --patch-file - <<EOF
$ kubectl patch gateway/eg --patch '
metadata:
annotations:
cert-manager.io/cluster-issuer: selfsigned
Expand All @@ -92,7 +92,7 @@ spec:
certificateRefs:
- kind: Secret
name: eg-https
EOF
' --type=merge
```

You could instead create a new Gateway serving HTTPS, if you'd prefer.
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/latest/tasks/security/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ EOF
We now have to patch the example Gateway to reference cert-manager:

```console
$ kubectl patch gateway/eg --patch-file - <<EOF
$ kubectl patch gateway/eg --patch '
metadata:
annotations:
cert-manager.io/cluster-issuer: selfsigned
Expand All @@ -91,7 +91,7 @@ spec:
certificateRefs:
- kind: Secret
name: eg-https
EOF
' --type=merge
```

You could instead create a new Gateway serving HTTPS, if you'd prefer.
Expand Down
5 changes: 2 additions & 3 deletions site/content/en/v0.5/user/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
We now have to patch the example Gateway to reference cert-manager:

```console
$ kubectl patch gateway/eg --patch-file - <<EOF
$ kubectl patch gateway/eg --patch '
metadata:
annotations:
cert-manager.io/cluster-issuer: selfsigned
Expand All @@ -92,8 +92,7 @@ spec:
certificateRefs:
- kind: Secret
name: eg-https
EOF
```
' --type=merge

You could instead create a new Gateway serving HTTPS, if you'd prefer.
cert-manager doesn't care, but we'll keep it all together in this guide.
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/v0.6/user/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
We now have to patch the example Gateway to reference cert-manager:

```console
$ kubectl patch gateway/eg --patch-file - <<EOF
$ kubectl patch gateway/eg --patch '
metadata:
annotations:
cert-manager.io/cluster-issuer: selfsigned
Expand All @@ -92,7 +92,7 @@ spec:
certificateRefs:
- kind: Secret
name: eg-https
EOF
' --type=merge
```

You could instead create a new Gateway serving HTTPS, if you'd prefer.
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/v1.0/tasks/security/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
We now have to patch the example Gateway to reference cert-manager:

```console
$ kubectl patch gateway/eg --patch-file - <<EOF
$ kubectl patch gateway/eg --patch '
metadata:
annotations:
cert-manager.io/cluster-issuer: selfsigned
Expand All @@ -92,7 +92,7 @@ spec:
certificateRefs:
- kind: Secret
name: eg-https
EOF
' --type=merge
```

You could instead create a new Gateway serving HTTPS, if you'd prefer.
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/v1.1/tasks/security/tls-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
We now have to patch the example Gateway to reference cert-manager:

```console
$ kubectl patch gateway/eg --patch-file - <<EOF
$ kubectl patch gateway/eg --patch '
metadata:
annotations:
cert-manager.io/cluster-issuer: selfsigned
Expand All @@ -92,7 +92,7 @@ spec:
certificateRefs:
- kind: Secret
name: eg-https
EOF
' --type=merge
```

You could instead create a new Gateway serving HTTPS, if you'd prefer.
Expand Down

0 comments on commit 0b4539a

Please sign in to comment.