Skip to content

Commit

Permalink
feat: add v1beta2 crd for lagoon
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Oct 3, 2024
1 parent 2c904db commit 130f747
Show file tree
Hide file tree
Showing 5 changed files with 761 additions and 11 deletions.
33 changes: 27 additions & 6 deletions charts/lagoon-build-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,36 @@ kubeVersion: ">= 1.25.0-0"

type: application

version: 0.29.0
version: 0.30.0

appVersion: v0.15.7
appVersion: v0.16.0

annotations:
artifacthub.io/changes: |
- kind: changed
description: update values for local development
description: update controller to v0.16.0
- kind: added
description: add new lagoonbuild and lagoontask v1beta2 crd versions
- kind: changed
description: bump minimum Kubernetes version to 1.25
- kind: changed
description: bump remote-controller to v0.15.7
description: deprecate lagoonbuild and lagoontask v1beta1 crd versions
artifacthub.io/crds: |
- kind: LagoonBuild
version: v1beta2
name: lagoonbuild
displayName: LagoonBuild
description: This is the CRD used for managing LagoonBuilds
- kind: LagoonTask
version: v1beta2
name: lagoontask
displayName: LagoonTask
description: This is the CRD used for managing LagoonTasks
- kind: LagoonBuild
version: v1beta1
name: lagoonbuild
displayName: LagoonBuild
description: Deprecated: Use the newer v1beta2 resource
- kind: LagoonTask
version: v1beta1
name: lagoontask
displayName: LagoonTask
description: Deprecated: Use the newer v1beta2 resource
23 changes: 23 additions & 0 deletions charts/lagoon-build-deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,29 @@ See the comments in `values.yaml`, and the [Lagoon Remote Controller](https://gi
For simple use of Lagoon, you shouldn't install this chart directly.
Instead it is configured as a dependency of the [Lagoon Remote](https://github.com/uselagoon/lagoon-charts/tree/main/charts/lagoon-remote) chart.

## Custom Resource Definitions (CRDs)

When additions or changes are made to the CRDs, you will need to install the changes before installing the newer chart version.

### lagoon-remote

If you're installing `lagoon-remote` you can use the following to update or install the latest CRDs

```
helm show crds lagoon/lagoon-build-deploy --version \
$(curl -s "https://raw.githubusercontent.com/uselagoon/lagoon-charts/lagoon-remote-${LAGOON_REMOTE_CHART_VERSION}/charts/lagoon-remote/Chart.lock" \
| grep -A2 "lagoon-build-deploy" \
| grep "version" \
| awk '{print $2}')
```
### lagoon-build-deploy

If you're installing `lagoon-build-deploy` as its own component, then the following can be used

```
helm show crds lagoon/lagoon-build-deploy --version ${LAGOON_BUILD_DEPLOY_CHART_VERSION}
```

## ServiceAccounts

This chart installs a single service account with a `cluster-admin` `ClusterRoleBinding`.
Loading

0 comments on commit 130f747

Please sign in to comment.