Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strimzi Kafka Operator #110

Merged
merged 1 commit into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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