Skip to content

Commit

Permalink
feat: Update Shipwright Builds to v0.14.0
Browse files Browse the repository at this point in the history
Update operator to deploy Shipwright Build v0.14.0 components. Changes
include updates to the build CRDs and sample build strategies, and any
required changes to operator RBAC. Deployment topology otherwise
remains intact. Minimum k8s version is v1.29.0, to align with the min
supported version for Build v0.14.0.

The experimental multi-arch build strategy was removed, due to the
sample mixing cluster-scoped and namespace-scoped resources.

Fixes #230

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
  • Loading branch information
adambkaplan committed Dec 17, 2024
1 parent f903a7e commit 97c52a0
Show file tree
Hide file tree
Showing 6 changed files with 13,666 additions and 2,616 deletions.
10 changes: 9 additions & 1 deletion bundle/manifests/shipwright-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,14 @@ spec:
- create
- update
- delete
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
- customresourcedefinitions/status
verbs:
- get
- patch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -773,7 +781,7 @@ spec:
- email: shipwright-dev@lists.shipwright.io
name: The Shipwright Contributors
maturity: alpha
minKubeVersion: 1.24.0
minKubeVersion: 1.29.0
provider:
name: The Shipwright Contributors
url: https://shipwright.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
- email: shipwright-dev@lists.shipwright.io
name: The Shipwright Contributors
maturity: alpha
minKubeVersion: 1.24.0
minKubeVersion: 1.29.0
provider:
name: The Shipwright Contributors
url: https://shipwright.io
Expand Down
3 changes: 3 additions & 0 deletions config/rbac/shipwright_build_controller_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ rules:
- apiGroups: ['']
resources: ['serviceaccounts']
verbs: ['get', 'list', 'watch', 'create', 'update', 'delete']
- apiGroups: ['apiextensions.k8s.io']
resources: ['customresourcedefinitions', 'customresourcedefinitions/status']
verbs: ['get', 'patch']
4 changes: 2 additions & 2 deletions docs/shipwrightbuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
When the Shipwright Operator is installed with the Operator Lifecycle Manager, the
`ShipwrightBuild` [custom resource definition](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) is added to your cluster.
This custom resource is used to install and configure Shipwright Builds on your cluster.
The current operator will install version `0.12.0` of Builds.
The current operator will install version `0.14.0` of Builds.

When the `ShipwrightBuild` instance is created, the following components are installed:

Expand All @@ -17,9 +17,9 @@ When the `ShipwrightBuild` instance is created, the following components are ins
- `buildpacks-v3`
- `buildpacks-v3-heroku`
- `kaniko`
- `kaniko-trivy`
- `ko`
- `source-to-image`
- `source-to-image-redhat`


## ShipwrightBuild Reference
Expand Down
Loading

0 comments on commit 97c52a0

Please sign in to comment.