Direct update to deployment is happening
savitaashture opened this issue · 4 comments
Issue:
Direct update to Deployment is happening with v0.67.x Operator though the deployments were created by Installersets
ex:
kubectl edit deployment tekton-triggers-controller
added env in spec
env:
- name: hi
value: hello
Pod recreated with this env and deployments are not overiden by TektonInstallerSets
Expected Behavior
Direct update to deployment should not be allowed
Actual Behavior
Direct update to deployment happening
Steps to Reproduce the Problem
- Install v0.67.x
- edit any deployment ex:
kubectl edit deployment tekton-triggers-controller
- then you see values are exist
Additional Info
-
Kubernetes version:
Output of
kubectl version
:(paste your output here)
-
Tekton Pipeline version:
0.47.x
-
Tekton Operator version:
0.67.x
Discussed with @jkandasa and he mentioned that issue introduced as part of https://github.com/tektoncd/operator/commit/3d999b93150932ece82841d2bd2a7e96b00ef3f5#diff-d33a60db8d53ff9977610e53a[…]2dee3ac5b0164487273b7979af38db
Its a regression issue in 0.67.x
do we need to have a release for this ?
cc @vdemeester
Thanks @savitaashture I will create PR to fix this.
@savitaashture yes we probably need a release for this.