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

Add resources templating option to kaap operator deployment #159

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion helm/kaap/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ spec:
name: {{ include "kaap.name" . }}
image: {{ .Values.operator.image }}
imagePullPolicy: {{ .Values.operator.imagePullPolicy }}
{{- if .Values.operator.resources }}
resources:
{{- toYaml .Values.operator.resources | nindent 12 }}
{{- end }}
livenessProbe:
failureThreshold: {{ .Values.operator.livenessProbe.failureThreshold }}
httpGet:
Expand All @@ -85,4 +89,4 @@ spec:
successThreshold: {{ .Values.operator.readinessProbe.successThreshold }}
timeoutSeconds: {{ .Values.operator.readinessProbe.timeoutSeconds }}
serviceAccountName: {{ include "kaap.serviceAccountName" . }}
{{- end }}
{{- end }}
4 changes: 3 additions & 1 deletion helm/kaap/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ operator:
enabled: true
image: datastax/kaap:0.2.0
imagePullPolicy: IfNotPresent
resources: {}
replicas: 1

livenessProbe:
failureThreshold: 3
periodSeconds: 30
Expand Down Expand Up @@ -68,4 +70,4 @@ cluster:
name: pulsar
image: datastax/lunastreaming-all:2.10_3.1
storage:
existingStorageClassName: default
existingStorageClassName: default