diff --git a/README.md b/README.md index 746ca87..bd099f8 100644 --- a/README.md +++ b/README.md @@ -140,12 +140,18 @@ The following table lists the configurable parameters of the Amphitheatre chart |---------------------|-------------------------------------------|--------------| | crds.install | Install or uninstall the amphitheatre-crds helm chart | `true` | +### Kpack Parameters + +| Parameter | Description | Default | +|---------------------|-------------------------------------------|--------------| +| kpack.enabled | Switch to enable or disable the kpack helm chart | `true` | + ### NATS Parameters | Parameter | Description | Default | |---------------------|-------------------------------------------|--------------| | nats.nats.jetstream.enabled | Enable NATS JetStream | `true` | -| nats.cluster.enabled | Enable NATS Cluster | `true +| nats.cluster.enabled | Enable NATS Cluster | `true` | ## Documentation diff --git a/charts/amphitheatre/Chart.yaml b/charts/amphitheatre/Chart.yaml index ba16f74..7eca73c 100644 --- a/charts/amphitheatre/Chart.yaml +++ b/charts/amphitheatre/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.12.1 +version: 0.12.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -37,6 +37,10 @@ dependencies: repository: oci://docker.io/envoyproxy version: v0.0.0-latest condition: gateway.enabled + - name: kpack + repository: https://charts.amphitheatre.app + version: 0.2.0 + condition: kpack.enabled - name: metrics-server repository: https://kubernetes-sigs.github.io/metrics-server/ version: 3.10.0 diff --git a/charts/amphitheatre/templates/controllers/cluster-role.yaml b/charts/amphitheatre/templates/controllers/cluster-role.yaml index c41378b..51e99fe 100644 --- a/charts/amphitheatre/templates/controllers/cluster-role.yaml +++ b/charts/amphitheatre/templates/controllers/cluster-role.yaml @@ -42,3 +42,31 @@ rules: - apiGroups: ["events.k8s.io"] resources: ["events"] verbs: ["create"] + +- apiGroups: + - kpack.io + resources: + - builds + - builds/status + - images + - images/status + - builders + - builders/status + - buildpacks + - buildpacks/status + - clusterbuilders + - clusterbuilders/status + - clusterbuildpacks + - clusterbuildpacks/status + - clusterstores + - clusterstores/status + - clusterstacks + - clusterstacks/status + verbs: + - get + - list + - create + - update + - delete + - patch + - watch diff --git a/charts/amphitheatre/values.yaml b/charts/amphitheatre/values.yaml index 3e1c9f2..edc8e25 100644 --- a/charts/amphitheatre/values.yaml +++ b/charts/amphitheatre/values.yaml @@ -186,6 +186,11 @@ crds: # Switch to install or uninstall the amphitheatre-crds helm chart install: true +## @section Kpack Parameters +kpack: + # Switch to enable or disable the kpack helm chart + enabled: true + ## @section NATS Parameters nats: nats: