use targetrefs (#15001)

This commit is contained in:
Lin Sun 2024-04-30 10:22:46 -04:00 committed by GitHub
parent f2ad6fd556
commit 36cde2ce0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -271,8 +271,8 @@ identities, but not at the Layer 7 level, such as HTTP methods like `GET` and `P
name: productpage-viewer
namespace: default
spec:
targetRef:
kind: Service
targetRefs:
- kind: Service
group: ""
name: productpage
action: ALLOW

View File

@ -200,8 +200,8 @@ metadata:
name: productpage-viewer
namespace: default
spec:
targetRef:
kind: Service
targetRefs:
- kind: Service
group: ""
name: productpage
action: ALLOW