2020 username : shared-service-user
2121 passwordSecret :
2222 secretName : {{ .Values.secret.jaas.name }}
23- password : {{ .Values.secret.jaas.key }} # TODO double-check - worked with password: "password"
23+ password : password
2424 {{- end }}
2525 autoRestart :
2626 enabled : true # automatic restarts of failed connectors or their tasks
@@ -105,15 +105,8 @@ spec:
105105 securityContext :
106106 {{- toYaml .Values.securityContext | nindent 12 }}
107107 connectContainer :
108- {{/* env:*/}} # TODO double-check all these variables are now part of connector config
109- {{/* {{- if .Values.secret.jaas.name }}*/}}
110- {{/* - name: CONNECT_SASL_JAAS_CONFIG*/}} # TODO add producer
111- {{/* valueFrom:*/}}
112- {{/* secretKeyRef:*/}}
113- {{/* name: {{ .Values.secret.jaas.name }}*/}}
114- {{/* key: {{ .Values.secret.jaas.key }}*/}}
115- {{/* {{- end }}*/}}
116- {{/* - name: CONNECT_APPLICATION_LOOP_INTERVAL_MS*/}}
108+ env :
109+ {{/* - name: CONNECT_APPLICATION_LOOP_INTERVAL_MS*/}} # TODO double-check all these variables are now part of connector config
117110{{/* value: {{ .Values.application_loop_interval_ms | quote }}*/}}
118111{{/* - name: CONNECT_USER_CACHE_REFRESH_INTERVAL_MS*/}}
119112{{/* value: {{ .Values.user_cache_refresh_interval_ms | quote }}*/}}
@@ -129,15 +122,9 @@ spec:
129122{{/* value: "{{ .Values.kafka_num_brokers }}"*/}}
130123{{/* - name: CONNECT_LOG4J_LOGGERS*/}}
131124{{/* value: "org.reflections=ERROR"*/}}
132- {{/* - name: WAIT_FOR_KAFKA*/}}
133- {{/* value: {{ if .Values.kafka_wait.enabled }}"1"{{ else }}"0"{{ end }}*/}}
134- {{/* {{- if and .Values.kafka_wait.enabled .Values.kafka_wait.properties }}*/}}
135- {{/* - name: COMMAND_CONFIG_FILE_PATH*/}}
136- {{/* value: /etc/kafka-connect/source-fitbit/kafka-wait.properties*/}}
137- {{/* {{- end }}*/}}
138- {{/* {{- with .Values.extraEnvVars }}*/}}
139- {{/* {{- toYaml . | nindent 8 }}*/}}
140- {{/* {{- end }}*/}}
125+ {{- with .Values.extraEnvVars }}
126+ {{- toYaml . | nindent 12 }}
127+ {{- end }}
141128 volumeMounts :
142129 - name : config-users
143130 mountPath : /mnt/users
0 commit comments