Skip to content

Commit

Permalink
Recognize peerauthentication v1 (#50172)
Browse files Browse the repository at this point in the history
* add peerauth to v1

* add pa v1 validation
  • Loading branch information
hanxiaop committed Apr 1, 2024
1 parent 187d55a commit 09c98bf
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pkg/config/schema/collections/collections.agent.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/config/schema/collections/collections.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pkg/config/schema/gvk/resources.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pkg/config/schema/gvr/resources.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/config/schema/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ resources:
plural: "peerauthentications"
group: "security.istio.io"
version: "v1beta1"
versionAliases:
- "v1"
proto: "istio.security.v1beta1.PeerAuthentication"
protoPackage: "istio.io/api/security/v1beta1"
statusProto: "istio.meta.v1alpha1.IstioStatus"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: security.istio.io/v1
kind: PeerAuthentication
metadata:
name: valid-peer-authentication
spec:
selector:
matchLabels:
app: httpbin
version: v1
mtls:
mode: PERMISSIVE
portLevelMtls:
8080:
mode: STRICT

0 comments on commit 09c98bf

Please sign in to comment.