diff --git a/charts/argo-events/Chart.yaml b/charts/argo-events/Chart.yaml index c88c5997..cdb6dde0 100644 --- a/charts/argo-events/Chart.yaml +++ b/charts/argo-events/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A Helm chart to install Argo-Events in k8s Cluster name: argo-events -version: 0.4.3 +version: 0.5.0 keywords: - argo-events - sensor-controller @@ -11,5 +11,5 @@ sources: maintainers: - name: Vaibhav Page - name: Matt Magaldi -appVersion: 0.9.2 -icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png \ No newline at end of file +appVersion: 0.10 +icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png diff --git a/charts/argo-events/README.md b/charts/argo-events/README.md index dee9b291..174a8114 100644 --- a/charts/argo-events/README.md +++ b/charts/argo-events/README.md @@ -1,8 +1,8 @@ # Argo-Events Chart This is a **community maintained** chart. It installs the [argo-events](https://github.com/argoproj/argo-events) application. This application comes packaged with: -- Sensor Custom Resource Definition -- Gateway Custom Resource Definition +- Sensor Custom Resource Definition (See CRD Notes) +- Gateway Custom Resource Definition (See CRD Notes) - Sensor Controller Deployment - Sensor Controller ConfigMap - Gateway Controller Deployment @@ -10,3 +10,7 @@ This is a **community maintained** chart. It installs the [argo-events](https:// - Service Account - Cluster Roles - Cluster Role Bindings + +## Notes on CRD Installation + +Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set installCRD=false` when installing the chart. diff --git a/charts/argo-events/templates/gateway-crd.yaml b/charts/argo-events/templates/gateway-crd.yaml index 6cab34ba..d31dc574 100644 --- a/charts/argo-events/templates/gateway-crd.yaml +++ b/charts/argo-events/templates/gateway-crd.yaml @@ -1,3 +1,4 @@ +{{- if .Values.installCRD }} # Define a "gateway" custom resource definition apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition @@ -12,3 +13,4 @@ spec: singular: gateway scope: Namespaced version: v1alpha1 +{{- end }} diff --git a/charts/argo-events/templates/sensor-crd.yaml b/charts/argo-events/templates/sensor-crd.yaml index 5b50b240..a9c2ca5d 100644 --- a/charts/argo-events/templates/sensor-crd.yaml +++ b/charts/argo-events/templates/sensor-crd.yaml @@ -1,3 +1,4 @@ +{{- if .Values.installCRD }} # Define a "sensor" custom resource definition apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition @@ -12,3 +13,4 @@ spec: singular: sensor scope: Namespaced version: v1alpha1 +{{- end }} diff --git a/charts/argo-events/values.yaml b/charts/argo-events/values.yaml index 53f1c470..a0841052 100644 --- a/charts/argo-events/values.yaml +++ b/charts/argo-events/values.yaml @@ -4,6 +4,9 @@ registry: argoproj # The image pull policy imagePullPolicy: Always +# If set to false, skip installing the CRDs. Requires user to have them installed prior to helm chart installation. +installCRD: true + # ServiceAccount to use for running controller. serviceAccount: argo-events-sa # Create service accounts in additional namespaces specified @@ -13,7 +16,7 @@ additionalSaNamespaces: [] instanceID: argo-events -# set `singleNamespace` to false to have the controllers +# set `singleNamespace` to false to have the controllers # listen on all namespaces. Otherwise the controllers will listen # on the namespace provided namespace: argo-events @@ -23,11 +26,11 @@ singleNamespace: true sensorController: name: sensor-controller image: sensor-controller - tag: v0.9.2 + tag: v0.10 replicaCount: 1 gatewayController: name: gateway-controller image: gateway-controller - tag: v0.9.2 + tag: v0.10 replicaCount: 1