GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shipwright-io/operator: An operator to install and configure Shipwright Builds on Kubernetes clusters.

BranchesTags
Open more actions menu

Latest commit

 

History

360 Commits
360 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
api/v1alpha1
api/v1alpha1
 
 
bundle
bundle
 
 
config
config
 
 
controllers
controllers
 
 
docs
docs
 
 
hack
hack
 
 
kodata
kodata
 
 
pkg
pkg
 
 
test
test
 
 
vendor
vendor
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
DEVELOPMENT.md
DEVELOPMENT.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
OWNERS
OWNERS
 
 
PROJECT
PROJECT
 
 
README.md
README.md
 
 
bundle.Dockerfile
bundle.Dockerfile
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

Shipwright Operator

An operator to install and configure Shipwright on Kubernetes clusters.

Installation

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

Prerequisites

Before installing the Shipwright operator, you must have the following components installed in your cluster:

  • Tekton: The Shipwright operator requires Tekton Pipelines to be installed. Follow the Tekton installation instructions to install Tekton in your cluster.
  • cert-manager: The Shipwright operator uses cert-manager to provision certificates for admission/conversion webhooks. Follow the cert-manager installation instructions to install cert-manager in your cluster.

Note: The cert-manager operator has been deprecated. Please install cert-manager directly using the recommended installation method from the cert-manager documentation.

Usage

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.

To deploy Shipwright Triggers, add the triggers field:

---
apiVersion: operator.shipwright.io/v1alpha1
kind: ShipwrightBuild
metadata:
  name: shipwright-operator
spec:
  targetNamespace: shipwright-build
  triggers:
    deployment: Enabled

Refer to the ShipwrightBuild documentation for more information about this custom resource.

The operator handles differents environment variables to customize Shiprwright controller installation:

  • KO_DATA_PATH : defines the shipwright controller manifest to install
  • USE_MANAGED_WEBHOOK_CERTS: defines wether the webook ssl certificate is installed by the operator. It requires cert-manager to be installed in the cluster.
  • IMAGE_SHIPWRIGHT_SHIPWRIGHT_BUILD : defines the Shipwright Build Controller Image to use
  • IMAGE_SHIPWRIGHT_GIT_CONTAINER_IMAGE: defines the Shipwright Git Container Image to use
  • IMAGE_SHIPWRIGHT_IMAGE_PROCESSING_CONTAINER_IMAGE: defines the Shipwright Processing Image to use
  • IMAGE_SHIPWRIGHT_BUNDLE_CONTAINER_IMAGE: defines the Shipwright Bundle Image to use
  • IMAGE_SHIPWRIGHT_WAITER_CONTAINER_IMAGE: defines the Shipwright Waiter Image to use
  • IMAGE_SHIPWRIGHT_SHIPWRIGHT_BUILD_WEBHOOK: defines the Shipwright Build Webhook Image to use
  • IMAGE_SHIPWRIGHT_SHIPWRIGHT_TRIGGERS: defines the Shipwright Triggers Image to use

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

Contributing

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.

About

An operator to install and configure Shipwright Builds on Kubernetes clusters.

Topics

cicdcontainerskuberneteskubernetes-operator

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

27 stars

Watchers

2 watching

Forks

23 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.