Skip to content

Commit

Permalink
Merge pull request #37 from Skarlso/improve-helm-chart
Browse files Browse the repository at this point in the history
feat: improve the helm chart
  • Loading branch information
Skarlso authored Jan 24, 2024
2 parents 002f41c + 0a84a74 commit f75acef
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 1 deletion.
74 changes: 74 additions & 0 deletions crd-bootstrap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,77 @@ description: This is the official Helm chart for the Project crd-bootstrap.
type: application
version: 0.0.0 # will be replaced by the publishing workflow.
appVersion: "0.0.0" # will be replaced by the publishing workflow.
icon: https://raw.githubusercontent.com/Skarlso/crd-bootstrap/main/hack/crd-bootstrap-logo.png
home: https://github.com/Skarlso/crd-bootstrap
maintainers:
- name: Gergely Brautigam
email: [email protected]
url: https://github.com/Skarlso

keywords:
- crd
- controller
- crd-controller
- kubernetes

annotations:
artifacthub.io/links: |
- name: Main Homepage
url: https://github.com/Skarlso/crd-bootstrap
artifacthub.io/crds: |
- kind: Bootstrap
version: v1
name: bootstrap
displayName: Bootstrap
description: Define a CRD to bootstrap in a given cluster.
artifacthub.io/crdsExamples: |
- apiVersion: delivery.crd-bootstrap/v1alpha1
kind: Bootstrap
metadata:
name: bootstrap-sample-github
namespace: crd-bootstrap-system
spec:
interval: 10s
source:
gitHub:
owner: fluxcd
repo: flux2
manifest: install.yaml
version:
semver: v2.0.1
- apiVersion: delivery.crd-bootstrap/v1alpha1
kind: Bootstrap
metadata:
name: bootstrap-sample-url
namespace: crd-bootstrap-system
spec:
interval: 10s
source:
url:
url: https://raw.githubusercontent.com/krok-o/operator/main/config/crd/bases/delivery.krok.app_krokevents.yaml
- apiVersion: delivery.crd-bootstrap/v1alpha1
kind: Bootstrap
metadata:
name: bootstrap-sample-configmap
namespace: crd-bootstrap-system
spec:
interval: 10s
# template is used for validating a given CRD _BEFORE_ it gets applied.
template:
KrokEvent:
apiVersion: delivery.krok.app/v1alpha1
kind: KrokEvent
metadata:
name: krokevent-sample
spec:
thisfield: value
source:
configMap:
name: crd-bootstrap-sample
namespace: crd-bootstrap-system
version:
semver: 1.0.0
# ignore validation errors and apply the CRD anyways.
continueOnValidationError: true
17 changes: 17 additions & 0 deletions crd-bootstrap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Official Helm Charts for crd-bootstrap controller

## Installation

We are using ghcr.io's OCI registry for publishing helm charts.

To install it, simply run:

```
helm upgrade -i --wait --create-namespace -n crd-bootstrap crd-bootstrap \
oci://ghcr.io/skarlso/helm/crd-bootstrap --version <VERSION>
```

## Configuration

The project is using plain Helm Values files for configuration options.
Check out the default values for the chart [here](https://artifacthub.io/packages/helm/crd-bootstrap/crd-bootstrap?modal=values).
2 changes: 1 addition & 1 deletion crd-bootstrap/artifacthub-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
repositoryID: 40a69917-92d4-4b55-bfb8-adcbff3ea42e
owners:
- name: Skarlso
email: gergely@gergelybrautigam.com
email: skarlso777@gmail.com
3 changes: 3 additions & 0 deletions docs/release_notes/v0.4.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Release v0.4.1

Improve the helm chart with additional information, a README and some sample CRD content.

0 comments on commit f75acef

Please sign in to comment.