An operator to install and configure Shipwright on Kubernetes clusters.
The Shipwright operator is designed to be installed with the Operator Lifecycle Manager ("OLM"). Before installation, ensure that OLM has been deployed on your cluster by following the OLM installation instructions.
Once OLM has been deployed, use the following command to install the latest operator release from operatorhub.io:
$ kubectl apply -f https://operatorhub.io/install/shipwright-operator.yaml
When installed via OLM using the provided Shipwright Operator Bundle, the Shipwright operator will ask OLM to deploy the following operators:
To deploy and manage Shipwright Builds in your cluster, first make sure this operator is installed and running.
Next, create the following:
---
apiVersion: operator.shipwright.io/v1alpha1
kind: ShipwrightBuild
metadata:
name: shipwright-operator
spec:
targetNamespace: shipwright-build
The operator will deploy Shipwright Builds in the provided targetNamespace
.
When .spec.targetNamespace
is not set, the namespace will default to shipwright-build
.
Refer to the ShipwrightBuild documentation for more information about this custom resource.
The operator handles differents environment variables to customize Shiprwright controller installation:
For more information about the function of these images, please consider the Shipwright Build doc https://github.com/shipwright-io/build/blob/main/docs/configuration.md
Please review the overall project Contributing Guide before submitting bug reports, feature requests, or code.
Want to start hacking on the operator? Refer to the Development Guilde to learn how to build, test, and deploy the operator.