Skip to content

Commit 62e5dd9

Browse files
authored
add shortname for authz (#3069)
* add shortname for authz * rename to ap * release notes
1 parent 7b21c4b commit 62e5dd9

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

kubernetes/customresourcedefinitions.gen.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: release-notes/v2
2+
kind: feature
3+
area: security
4+
5+
releaseNotes:
6+
- |
7+
**Added** short name `ap` for AuthorizationPolicie

security/v1/authorization_policy.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security/v1/authorization_policy.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ option go_package="istio.io/api/security/v1";
449449
// +cue-gen:AuthorizationPolicy:labels:app=istio-pilot,chart=istio,istio=security,heritage=Tiller,release=istio
450450
// +cue-gen:AuthorizationPolicy:subresource:status
451451
// +cue-gen:AuthorizationPolicy:scope:Namespaced
452-
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,plural=authorizationpolicies
452+
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,shortNames=ap,plural=authorizationpolicies
453453
// +cue-gen:AuthorizationPolicy:preserveUnknownFields:false
454454
// -->
455455
//

security/v1beta1/authorization_policy.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security/v1beta1/authorization_policy.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ option go_package="istio.io/api/security/v1beta1";
449449
// +cue-gen:AuthorizationPolicy:labels:app=istio-pilot,chart=istio,istio=security,heritage=Tiller,release=istio
450450
// +cue-gen:AuthorizationPolicy:subresource:status
451451
// +cue-gen:AuthorizationPolicy:scope:Namespaced
452-
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,plural=authorizationpolicies
452+
// +cue-gen:AuthorizationPolicy:resource:categories=istio-io,security-istio-io,shortNames=ap,plural=authorizationpolicies
453453
// +cue-gen:AuthorizationPolicy:preserveUnknownFields:false
454454
// -->
455455
//

0 commit comments

Comments
 (0)