-
Bug
-
Resolution: Done
-
Undefined
-
None
Before reporting an issue
[x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
operator
Describe the bug
Relates to #38846 - Env values for the existing statefulset and the desired state may not be identical if the apiversion is missing on some transitive resources like field references.
Version
26.2
Regression
[ ] The issue is a regression
Expected behavior
Non-meaningful differences should not trigger upgrading behavior.
Actual behavior
A missing apiVersion in the unsupported pod template will cause AUTO upgrading logic to continually be engaged - which can result in the StatefulSet being kept at 0 replicas.
How to Reproduce?
Add an env entry to the unsupported pod template spec similar to:
- name: MY_NAME
valueFrom:
fieldRef:
fieldPath: metadata.nameAlong with having the update strategy set to AUTO.
Anything else?
No response
- links to