Repository navigation
fix(image-updater): Privilege escalation via IMAGE_UPDATER_WATCH_NAMESPACES on namespace-scoped ArgoCD instances - #2425
Conversation
…SPACES on namespace-scoped ArgoCD instances Signed-off-by: dkarpele <karpelevich@gmail.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
assert.True(t, *deployment.Spec.Template.Spec.AutomountServiceAccountToken) Signed-off-by: dkarpele <karpelevich@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-0.20 #2425 +/- ##
===============================================
Coverage ? 59.73%
===============================================
Files ? 87
Lines ? 20995
Branches ? 0
===============================================
Hits ? 12541
Misses ? 7078
Partials ? 1376
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What type of PR is this?
/kind bug
What does this PR do / why we need it:
backport redhat-developer/gitops-operator@aa128e5
argocd-operator/controllers/argocd/image_updater.go was copied from master https://github.com/redhat-developer/gitops-operator but the commits below were removed:
2 other changes compared to master:
expandImageUpdaterWatchNamespaces:glob.REGEXPreplaced withglob.EXACTimageUpdaterWatchNSMapper:glob.REGEXPreplaced withglob.EXACTHave you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #?
GITOPS-12077
How to test changes / Special notes to the reviewer: