From 8656fe73eeba538bf85f44b32263087edc6ddcf4 Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Mon, 24 Apr 2023 20:37:32 -0700 Subject: [PATCH] [release-1.16] Add gateway.istio.io/controller-version annotation (#2747) * Add gateway.istio.io/controller-version annotation * Fix lint --------- Co-authored-by: Eric Van Norman --- annotation/annotations.gen.go | 13 +++++++++++++ annotation/annotations.pb.html | 2 ++ annotation/annotations.yaml | 10 +++++++++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/annotation/annotations.gen.go b/annotation/annotations.gen.go index f2ada69d..5c46b1d6 100644 --- a/annotation/annotations.gen.go +++ b/annotation/annotations.gen.go @@ -132,6 +132,18 @@ var ( }, } + GatewayControllerVersion = Instance { + Name: "gateway.istio.io/controller-version", + Description: "A version added to the Gateway by the controller "+ + "specifying the `controller version`.", + FeatureStatus: Alpha, + Hidden: true, + Deprecated: false, + Resources: []ResourceTypes{ + Any, + }, + } + InjectTemplates = Instance { Name: "inject.istio.io/templates", Description: "The name of the inject template(s) to use, as a comma "+ @@ -787,6 +799,7 @@ func AllResourceAnnotations() []*Instance { &AlphaIdentity, &AlphaKubernetesServiceAccounts, &GalleyAnalyzeSuppress, + &GatewayControllerVersion, &InjectTemplates, &OperatorInstallChartOwner, &OperatorInstallOwnerGeneration, diff --git a/annotation/annotations.pb.html b/annotation/annotations.pb.html index 90bbade8..d0114436 100644 --- a/annotation/annotations.pb.html +++ b/annotation/annotations.pb.html @@ -40,6 +40,8 @@ Istio supports to control its behavior. + + diff --git a/annotation/annotations.yaml b/annotation/annotations.yaml index 87027877..5471ed02 100644 --- a/annotation/annotations.yaml +++ b/annotation/annotations.yaml @@ -347,7 +347,7 @@ annotations: hidden: false resources: - Pod - + - name: traffic.sidecar.istio.io/includeOutboundPorts featureStatus: Alpha description: A comma separated list of outbound ports for which traffic is to be @@ -504,3 +504,11 @@ annotations: hidden: false resources: - Namespace + + - name: gateway.istio.io/controller-version + featureStatus: Alpha + description: A version added to the Gateway by the controller specifying the "controller version". + deprecated: false + hidden: true + resources: + - Any \ No newline at end of file