Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.8.1-snapshot
VERSION ?= 0.9.0-rc.0

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@

An operator to install and configure [Shipwright](https://shipwright.io) on Kubernetes clusters.

## Contributing
## Installation

See [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to build, test, and submit
contributions to the operator.
The Shipwright operator is designed to be installed with the [Operator Lifecycle Manager](https://olm.operatorframework.io/) ("OLM").
Before installation, ensure that OLM has been deployed on your cluster by following the [OLM installation instructions](https://olm.operatorframework.io/docs/getting-started/#installing-olm-in-your-cluster).

Once OLM has been deployed, use the following command to install the latest operator release from [operatorhub.io](https://operatorhub.io/operator/shipwright-operator):

```sh
$ kubectl apply -f https://operatorhub.io/install/shipwright-operator.yaml
```

## Usage

To deploy and manage [Shipwright Builds](https://github.com/shipwright-io/build) in your cluster,
first make sure this operator is installed and running on your cluster.
first make sure this operator is installed and running.

Next, create the following:

Expand All @@ -26,5 +32,9 @@ spec:

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](docs/shipwrightbuild.md) for more information about this custom resource.

## Contributing

_Note: this namespace needs to be created before the actual deployment takes place._
See [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to build, test, and submit
contributions to the operator.
53 changes: 48 additions & 5 deletions bundle/manifests/shipwright-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/shipwright-io/operator
support: The Shipwright Contributors
name: shipwright-operator.v0.8.1-snapshot
name: shipwright-operator.v0.9.0-rc.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -63,8 +63,7 @@ spec:

The operator will deploy Shipwright Builds in the provided `targetNamespace`.
When `.spec.targetNamespace` is not set, the namespace will default to `shipwright-build`.

_Note: this namespace needs to be created before the actual deployment takes place._
Refer to the [ShipwrightBuild documentation](https://github.com/shipwright-io/operator/blob/main/docs/shipwrightbuild.md) for more information about this custom resource.
displayName: Shipwright Operator
icon:
- base64data: |
Expand Down Expand Up @@ -211,6 +210,50 @@ spec:
spec:
clusterPermissions:
- rules:
- apiGroups:
- shipwright.io
resources:
- clusterbuildstrategies
verbs:
- get
- list
- watch
- apiGroups:
- shipwright.io
resources:
- buildstrategies
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- shipwright.io
resources:
- builds
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- shipwright.io
resources:
- buildruns
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- shipwright.io
resources:
Expand Down Expand Up @@ -568,7 +611,7 @@ spec:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
image: ghcr.io/shipwright-io/operator/operator:0.8.1-snapshot
image: ghcr.io/shipwright-io/operator/operator:0.9.0-rc.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -656,4 +699,4 @@ spec:
provider:
name: The Shipwright Contributors
url: https://shipwright.io
version: 0.8.1-snapshot
version: 0.9.0-rc.0
Loading