Resolve "Kyverno Policies blocks elasticsearch autoRollingUpgrade Job"
General MR
Summary
This MR resolves Kyverno compliance issues with the upgrade Job that was
deployed whenever autoRollingUpgrade.enabled was set to true.
The upgrade Job itself is still having issues unrelated to the Kyverno
policies that will be addressed in another MR.
Relevant logs/screenshots
To reproduce the test scenario:
- Deploy bigbang with these values:
elasticsearchKibana: enabled: true values: autoRollingUpgrade: enabled: true - Wait for bigbang deployment to complete
- Upgrade bigbang with these values:
elasticsearchKibana: enabled: true git: branch: 209-upgrade-job-kyverno-compliance tag: null values: autoRollingUpgrade: enabled: true - Watch for the upgrade job to start and complete successfully:
❯ kubectl get job -n logging NAME STATUS COMPLETIONS DURATION AGE bb-logging-ek-upgrade Complete 1/1 57s 115s
Linked Issue
Upgrade Notices
N/A
Closes #209 (closed)
Edited by Zach Callahan