Repository navigation
✨ Update ansible installer to install and configure shipwright for k8s - #528
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Shipwright Build support to the Kagenti installer, enabling container image building capabilities on both Kubernetes and OpenShift. The implementation includes comprehensive operator detection logic, cert-manager integration, TLS certificate management, and custom build strategies for internal registries.
Changes:
- Added Shipwright Build installation for Kubernetes clusters with cert-manager-based TLS certificate management and auto-renewal
- Implemented operator detection logic to avoid conflicts with pre-existing cert-manager, SPIRE, and Shipwright installations on OpenShift
- Enhanced documentation for cert-manager configuration and conflict resolution with OpenShift Pipelines
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 21 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/ocp/openshift-install.md | Comprehensive documentation updates for cert-manager handling and TektonConfig conflict resolution |
| deployments/envs/ocp_values.yaml | Enabled SPIRE operator and Shipwright for OpenShift 4.19+ |
| deployments/envs/dev_values.yaml | Enabled Shipwright for development environment |
| deployments/ansible/default_values.yaml | Added Shipwright version configuration (v0.14.0) |
| deployments/ansible/roles/kagenti_installer/tasks/main.yml | Integrated Shipwright installation, operator detection, wait conditions, and TektonConfig patching |
| deployments/ansible/roles/kagenti_installer/tasks/04_install_shipwright.yaml | New task file for Shipwright installation with cert-manager integration and custom build strategies |
| deployments/ansible/roles/kagenti_installer/tasks/01_setup_vars.yaml | Added shipwright variable initialization |
| deployments/ansible/cleanup-install.sh | Enhanced cleanup script with OpenShift operator namespace handling and finalizer removal |
| charts/kagenti/templates/agent-namespaces.yaml | Added Shipwright-specific GitHub secret for git clone operations |
| charts/kagenti-deps/values.yaml | Added Shipwright component configuration |
| charts/kagenti-deps/templates/openshift-builds-operator.yaml | New template for OpenShift Builds operator installation |
| charts/kagenti-deps/templates/tekton-operator.yaml | Updated channel from pipelines-1.14 to latest |
| charts/kagenti-deps/templates/spire-operator.yaml | Updated to stable-v1 channel with improved resource management |
| charts/kagenti-deps/templates/keycloak-operator.yaml | Updated to stable-v26.4 and improved OperatorGroup handling |
| charts/kagenti-deps/templates/keycloak-operand.yaml | Added CRD existence checks before lookups |
| charts/kagenti-deps/templates/cert-manager-operator.yaml | Improved resource management with helm.sh/resource-policy annotations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…hipwright.yaml Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…hipwright.yaml Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Member
Author
|
All manual install tests on OCP / Kind and UI tests completed successfully - e2e for kind is also looking good. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update ansible installer to install and configure shipwright for k8s:
Related issue(s)
Fixes #527