[release-1.17] Add gateway.istio.io/controller-version annotation (#2746)

* Add gateway.istio.io/controller-version annotation

* Fix lint

---------

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
This commit is contained in:
Istio Automation 2023-04-03 12:51:34 -07:00 committed by GitHub
parent d5ba2da6d5
commit ad626155ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 1 deletions

View File

@ -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,

View File

@ -40,6 +40,8 @@ Istio supports to control its behavior.
<tr>

View File

@ -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