Skip to content

✨ Update ansible installer to install and configure shipwright for k8s - #528

Merged
pdettori merged 10 commits into
rossoctl:mainfrom
pdettori:issue-527
Jan 20, 2026
Merged

pdettori merged 10 commits into
rossoctl:mainfrom
pdettori:issue-527

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

Update ansible installer to install and configure shipwright for k8s:

  1. Check that cert-manager is installed (required dependency)
  2. Install Shipwright Build with server-side apply
  3. Configure TLS certificates via cert-manager with auto-renewal
  4. Install all sample build strategies plus the custom buildah-insecure-push strategy for internal registries

Related issue(s)

Fixes #527

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/ocp/openshift-install.md Resolved
Comment thread deployments/envs/ocp_values.yaml Resolved

@Ladas Ladas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pdettori and others added 10 commits January 20, 2026 10:07
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]>
@pdettori

Copy link
Copy Markdown
Member Author

All manual install tests on OCP / Kind and UI tests completed successfully - e2e for kind is also looking good.

@pdettori
pdettori merged commit 204c746 into rossoctl:main Jan 20, 2026
@pdettori
pdettori deleted the issue-527 branch January 20, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Update Ansible installer to deploy Shipwright.

3 participants