-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.14.1 GA
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
oc rollout restart deployment/xx doesn't work with APIcast pods that are managed by apicast-operator; the operator reconciles the operation like this.
{"level":"info","ts":1722495481.2791226,"logger":"controllers.APIcast","msg":"Reconciling APIcast","apicast":"apicast/example-apicast"} {"level":"info","ts":1722495481.279401,"logger":"controllers.APIcast","msg":"Updated object Deployment/apicast-example-apicast","apicast":"apicast/example-apicast"} {"level":"info","ts":1722495481.2872841,"logger":"controllers.APIcast","msg":"Successfully reconciled","apicast":"apicast/example-apicast"}
oc rollout restart adds kubectl.kubernetes.io/restartedAt annotation to PodTemplateSpec in Deployment, and apicast-operator seems to watch the change and reconcile if it is added.
https://github.com/3scale/apicast-operator/blob/03b6be5ae7ad7388ea796cf575547d4a0f19d88b/pkg/reconcilers/deployment.go#L109-L121