Skip to content

Commit

Permalink
Update TLS/DNSPolicy guides with v1 apiVersion (#1080)
Browse files Browse the repository at this point in the history
Signed-off-by: David Martin <[email protected]>
  • Loading branch information
david-martin authored Dec 13, 2024
1 parent c8e1c06 commit dd6ee42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/overviews/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ When a DNSPolicy targets a Gateway, the policy will be enforced on all gateway l
Target a Gateway by setting the `spec.targetRef` field of the DNSPolicy as follows:

```yaml
apiVersion: kuadrant.io/v1beta2
apiVersion: kuadrant.io/v1
kind: DNSPolicy
metadata:
name: <DNSPolicy name>
Expand All @@ -186,7 +186,7 @@ spec:
A DNSPolicy can target a specific listener in a gateway using the `sectionName` property of the targetRef configuration. When you set the `sectionName`, the DNSPolicy will only affect that listener and no others. If you also have another DNSPolicy targeting the entire gateway, the more specific policy targeting the listerner will be the policy that is applied.

```yaml
apiVersion: kuadrant.io/v1beta2
apiVersion: kuadrant.io/v1
kind: DNSPolicy
metadata:
name: <DNSPolicy name>
Expand Down
2 changes: 1 addition & 1 deletion doc/overviews/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ When a TLSPolicy targets a Gateway, the policy will be enforced on all gateway l
Target a Gateway by setting the `spec.targetRef` field of the TLSPolicy as follows:

```yaml
apiVersion: kuadrant.io/v1beta2
apiVersion: kuadrant.io/v1
kind: TLSPolicy
metadata:
name: <TLSPolicy name>
Expand Down

0 comments on commit dd6ee42

Please sign in to comment.