diff --git a/add-ons/strimzi-kafka-operator/Chart.yaml b/add-ons/strimzi-kafka-operator/Chart.yaml new file mode 100644 index 00000000..86a691fc --- /dev/null +++ b/add-ons/strimzi-kafka-operator/Chart.yaml @@ -0,0 +1,20 @@ +apiVersion: v2 +name: strimzi-kafka-operator +description: A Helm chart for Strimzi - Apache Kafka on Kubernetes + +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +type: application + +# The chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +version: 0.1.1 + +# Version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. +appVersion: "1.0" + +dependencies: + - name: strimzi-kafka-operator + version: 0.31.1 + repository: https://strimzi.io/charts/ diff --git a/add-ons/strimzi-kafka-operator/values.yaml b/add-ons/strimzi-kafka-operator/values.yaml new file mode 100644 index 00000000..beeab5c3 --- /dev/null +++ b/add-ons/strimzi-kafka-operator/values.yaml @@ -0,0 +1,9 @@ +# Default values for strimzi-kafka-operator. + +resources: + limits: + memory: 1Gi + cpu: 1000m + requests: + memory: 1Gi + cpu: 1000m \ No newline at end of file diff --git a/chart/templates/strimzi-kafka-operator.yaml b/chart/templates/strimzi-kafka-operator.yaml new file mode 100644 index 00000000..b4c9f8d8 --- /dev/null +++ b/chart/templates/strimzi-kafka-operator.yaml @@ -0,0 +1,31 @@ +{{- if and (.Values.strimziKafkaOperator) (.Values.strimziKafkaOperator.enable) -}} +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: strimzi-kafka-operator + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: {{ .Values.repoUrl }} + path: add-ons/strimzi-kafka-operator + targetRevision: {{ .Values.targetRevision }} + helm: + values: | + strimzi-kafka-operator: + {{- toYaml .Values.strimziKafkaOperator | nindent 10 }} + destination: + server: https://kubernetes.default.svc + namespace: strimzi + syncPolicy: + automated: + prune: true + retry: + limit: 1 + backoff: + duration: 5s + factor: 2 + maxDuration: 1m +{{- end -}} diff --git a/chart/values.yaml b/chart/values.yaml index 017800c1..f4056822 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -64,6 +64,10 @@ clusterAutoscaler: datadogOperator: enable: false +# Strimzi Kafka Operator +strimziKafkaOperator: + enabled: false + # External DNS Values externalDns: enable: false