Annotate Twistlock pods with Istio version
For the specified package, add an annotation to all pods with the version of Istio. This ensures that pod sidecars are refreshed when Istio updates. The Istio version annotation should not contain the -bb.x
suffix, so that pods are only rolled when upstream Istio updates.
AC (when package has helm values to specify annotations):
-
In the BB chart/templates/<package>/values.yaml
file add values so that the istio annotation is added to all pods in the package. See this example for more details.
AC (when package has no helm values for annotations):
-
Add the ability to specify annotations in the package values (this should be done a per-pod basis ideally) -
In the BB chart/templates/<package>/values.yaml
file add values so that the istio annotation is added to all pods in the package. See this example for more details.
Edited by Micah Nagel