Skip to content

Commit

Permalink
feat: add extraEnvFrom to kafka-connect (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
1DIce authored Dec 2, 2024
1 parent fc84334 commit c2e7ff0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kafka-connect/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2

name: kafka-connect
version: 0.2.1
version: 0.3.0

appVersion: 7.2.2

Expand Down
3 changes: 3 additions & 0 deletions charts/kafka-connect/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
envFrom:
- configMapRef:
name: {{ include "kafka-connect.fullname" . }}
{{- with .Values.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.extraVolumeMounts }}
Expand Down
6 changes: 6 additions & 0 deletions charts/kafka-connect/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ configMapPairs:
CONNECT_PLUGIN_PATH: /usr/share/java,/usr/share/confluent-hub-components
CONNECT_LOG4J_LOGGERS: org.apache.zookeeper=ERROR,org.I0Itec.zkclient=ERROR,org.reflections=ERROR

extraEnvFrom: []
# - secretRef:
# name: my-secret
# - configMapRef:
# name: my-configmap

initContainers:
[]
# - name: init-plugin
Expand Down

0 comments on commit c2e7ff0

Please sign in to comment.