Skip to content

Commit

Permalink
Strimzi Kafka Operator (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyIbrahim authored Nov 3, 2022
1 parent 6871551 commit 79dce32
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
20 changes: 20 additions & 0 deletions add-ons/strimzi-kafka-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
9 changes: 9 additions & 0 deletions add-ons/strimzi-kafka-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Default values for strimzi-kafka-operator.

resources:
limits:
memory: 1Gi
cpu: 1000m
requests:
memory: 1Gi
cpu: 1000m
31 changes: 31 additions & 0 deletions chart/templates/strimzi-kafka-operator.yaml
Original file line number Diff line number Diff line change
@@ -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 -}}
4 changes: 4 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ clusterAutoscaler:
datadogOperator:
enable: false

# Strimzi Kafka Operator
strimziKafkaOperator:
enabled: false

# External DNS Values
externalDns:
enable: false
Expand Down

0 comments on commit 79dce32

Please sign in to comment.