Skip to content

Commit

Permalink
add shortname for authz (#3069)
Browse files Browse the repository at this point in the history
* add shortname for authz

* rename to ap

* release notes
  • Loading branch information
zirain authored Jan 29, 2024
1 parent 7b21c4b commit 62e5dd9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions kubernetes/customresourcedefinitions.gen.yaml

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

7 changes: 7 additions & 0 deletions releasenotes/notes/authz-shortname.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: release-notes/v2
kind: feature
area: security

releaseNotes:
- |
**Added** short name `ap` for AuthorizationPolicie
2 changes: 1 addition & 1 deletion security/v1/authorization_policy.pb.go

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

2 changes: 1 addition & 1 deletion security/v1/authorization_policy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ option go_package="istio.io/api/security/v1";
// +cue-gen:AuthorizationPolicy:labels:app=istio-pilot,chart=istio,istio=security,heritage=Tiller,release=istio
// +cue-gen:AuthorizationPolicy:subresource:status
// +cue-gen:AuthorizationPolicy:scope:Namespaced
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,plural=authorizationpolicies
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,shortNames=ap,plural=authorizationpolicies
// +cue-gen:AuthorizationPolicy:preserveUnknownFields:false
// -->
//
Expand Down
2 changes: 1 addition & 1 deletion security/v1beta1/authorization_policy.pb.go

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

2 changes: 1 addition & 1 deletion security/v1beta1/authorization_policy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ option go_package="istio.io/api/security/v1beta1";
// +cue-gen:AuthorizationPolicy:labels:app=istio-pilot,chart=istio,istio=security,heritage=Tiller,release=istio
// +cue-gen:AuthorizationPolicy:subresource:status
// +cue-gen:AuthorizationPolicy:scope:Namespaced
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,plural=authorizationpolicies
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,shortNames=ap,plural=authorizationpolicies
// +cue-gen:AuthorizationPolicy:preserveUnknownFields:false
// -->
//
Expand Down

0 comments on commit 62e5dd9

Please sign in to comment.