Skip to content

Commit

Permalink
Merge pull request #4025 from lsst-sqre/tickets/DM-48241
Browse files Browse the repository at this point in the history
DM-48241: Fix schema update for Wobbly
  • Loading branch information
rra authored Dec 19, 2024
2 parents fb64542 + 3b4f52b commit 7379d27
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions applications/wobbly/templates/job-schema-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,24 @@ spec:
secretKeyRef:
name: "wobbly"
key: "database-password"
{{- if .Values.config.metrics.enabled }}
- name: "KAFKA_BOOTSTRAP_SERVERS"
valueFrom:
secretKeyRef:
name: "wobbly-kafka"
key: "bootstrapServers"
- name: "KAFKA_CLIENT_CERT_PATH"
value: "/etc/wobbly-kafka/user.crt"
- name: "KAFKA_CLIENT_KEY_PATH"
value: "/etc/wobbly-kafka/user.key"
- name: "KAFKA_CLUSTER_CA_PATH"
value: "/etc/wobbly-kafka/ca.crt"
- name: "KAFKA_SECURITY_PROTOCOL"
valueFrom:
secretKeyRef:
name: "wobbly-kafka"
key: "securityProtocol"
{{- end }}
envFrom:
- configMapRef:
name: "wobbly"
Expand All @@ -105,6 +123,20 @@ spec:
volumeMounts:
- name: "lifecycle"
mountPath: "/lifecycle"
{{- if .Values.config.metrics.enabled }}
- name: "kafka"
mountPath: "/etc/wobbly-kafka/ca.crt"
readOnly: true
subPath: "ssl.truststore.crt"
- name: "kafka"
mountPath: "/etc/wobbly-kafka/user.crt"
readOnly: true
subPath: "ssl.keystore.crt"
- name: "kafka"
mountPath: "/etc/wobbly-kafka/user.key"
readOnly: true
subPath: "ssl.keystore.key"
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand All @@ -121,4 +153,9 @@ spec:
volumes:
- name: "lifecycle"
emptyDir: {}
{{- if .Values.config.metrics.enabled }}
- name: "kafka"
secret:
secretName: "wobbly-kafka"
{{- end }}
{{- end }}

0 comments on commit 7379d27

Please sign in to comment.