diff --git a/annotation/annotations.gen.go b/annotation/annotations.gen.go index 2e59fde5..b045d2c0 100644 --- a/annotation/annotations.gen.go +++ b/annotation/annotations.gen.go @@ -28,6 +28,7 @@ type ResourceTypes int const ( Unknown ResourceTypes = iota Any + AuthorizationPolicy Ingress Pod Service @@ -38,10 +39,12 @@ func (r ResourceTypes) String() string { case 1: return "Any" case 2: - return "Ingress" + return "AuthorizationPolicy" case 3: - return "Pod" + return "Ingress" case 4: + return "Pod" + case 5: return "Service" } return "Unknown" @@ -158,6 +161,18 @@ var ( }, } + IoIstioDryRun = Instance { + Name: "istio.io/dry-run", + Description: "Specifies whether or not the given resource is in dry-run "+ + "mode.", + FeatureStatus: Alpha, + Hidden: true, + Deprecated: false, + Resources: []ResourceTypes{ + AuthorizationPolicy, + }, + } + IoKubernetesIngressClass = Instance { Name: "kubernetes.io/ingress.class", Description: "Annotation on an Ingress resources denoting the class of "+ @@ -613,6 +628,7 @@ func AllResourceAnnotations() []*Instance { &OperatorInstallChartOwner, &OperatorInstallOwnerGeneration, &OperatorInstallVersion, + &IoIstioDryRun, &IoKubernetesIngressClass, &NetworkingExportTo, &PrometheusMergeMetrics, @@ -655,6 +671,7 @@ func AllResourceAnnotations() []*Instance { func AllResourceTypes() []string { return []string { "Any", + "AuthorizationPolicy", "Ingress", "Pod", "Service", diff --git a/annotation/annotations.pb.html b/annotation/annotations.pb.html index 8d2884b9..90e9160e 100644 --- a/annotation/annotations.pb.html +++ b/annotation/annotations.pb.html @@ -79,6 +79,8 @@ Istio supports to control its behavior. + + diff --git a/annotation/annotations.yaml b/annotation/annotations.yaml index 3473b87a..5cdc2b16 100644 --- a/annotation/annotations.yaml +++ b/annotation/annotations.yaml @@ -392,3 +392,11 @@ annotations: hidden: false resources: - Pod + + - name: istio.io/dry-run + featureStatus: Alpha + description: Specifies whether or not the given resource is in dry-run mode. + deprecated: false + hidden: true + resources: + - AuthorizationPolicy