Repository navigation
chore: remove TektonConfig patching - #1046
Conversation
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
TektonConfig patching (SCC defaults, set-security-context, pruner) is now handled by kagenti-operator's TektonConfigReconciler. The installer only needs to wait for TektonConfig to be Ready before proceeding with the OpenShift Builds operator (Shipwright) deployment. Signed-off-by: Ignas Baranauskas <[email protected]>
The TektonConfig wait was running before the kagenti chart was deployed, but since the TektonConfig patching is now handled by kagenti-operator's TektonConfigReconciler, the operator needs to be running first. Move the wait block to after the kagenti chart install, where `wait: true` ensures the operator deployment is Ready before the TektonConfig wait begins. Signed-off-by: Ignas Baranauskas <[email protected]>
pdettori
left a comment
There was a problem hiding this comment.
Clean, well-scoped removal. The installer correctly delegates TektonConfig patching to the operator and moves the readiness wait to after the kagenti chart install (so the operator is running before the wait begins). Diagnostics rescue block is preserved verbatim. YAML indentation fixes are correct Ansible style.
Areas reviewed: Ansible/YAML, commit conventions, CI, sequencing logic
Commits: 2 commits, both signed off ✅
CI: All checks passing, including full Deploy & Test ✅
Nit — PR description cleanup: the ## Summary section is empty and the template boilerplate (big PR title requirements block) is still in the body.
Suggestion — operator version dependency: the new wait block implicitly assumes the deployed operator version includes TektonConfigReconciler. Worth a comment like:
# Requires kagenti-operator >= 0.2.0-alpha.X (TektonConfigReconciler)Makes the implicit dependency explicit for future upgrades/rollbacks.
PR rossoctl#1046 moved TektonConfig SCC patching to the kagenti-operator's TektonConfigReconciler. However, on fresh HyperShift clusters the operator reconciler doesn't patch fast enough — TektonConfig stays in Unknown state and Shipwright never deploys (no pods in openshift-pipelines namespace). Restore the minimal SCC patch (default: pipelines-scc, set-security- context: true) as a workaround before the Shipwright wait step. TODO: Remove once the operator reconciler is confirmed reliable. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
TektonConfig patching (SCC defaults, set-security-context, pruner) is now handled by kagenti-operator's TektonConfigReconciler. The installer only needs to wait for TektonConfig to be Ready before proceeding with the OpenShift Builds operator (Shipwright) deployment.
Some auto formatting happened as well not sure if that should stay.
The patching was moved to the operator already was just waiting for the new operator release.
Summary
Related issue(s)
(Optional) Testing Instructions
Fixes #