Skip to content

Commit

Permalink
docs: fix patch command for adding TLS gateway listener (envoyproxy#4316
Browse files Browse the repository at this point in the history
)

docs: fix patch command adding TLS gateway listener

Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
  • Loading branch information
Dean-Coakley authored Sep 23, 2024
1 parent 7f24294 commit e5fe849
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 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
4 changes: 2 additions & 2 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,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/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 e5fe849

Please sign in to comment.