Skip to content

Commit

Permalink
Fix certificate condition in deployment file for jaegertracing#375
Browse files Browse the repository at this point in the history
Signed-off-by: AshutoshNirkhe <[email protected]>
  • Loading branch information
AshutoshNirkhe committed Jun 20, 2022
1 parent e37405b commit 0ee1fbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/jaeger-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: jaeger-operator Helm chart for Kubernetes
name: jaeger-operator
version: 2.32.2
version: 2.32.3
appVersion: 1.34.1
home: https://www.jaegertracing.io/
icon: https://www.jaegertracing.io/img/jaeger-icon-reverse-color.svg
Expand Down
4 changes: 4 additions & 0 deletions charts/jaeger-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
{{- if .Values.certs.certificate.create }}
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
readOnly: true
{{- end }}
args: ["start"]
env:
- name: WATCH_NAMESPACE
Expand All @@ -77,11 +79,13 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.certs.certificate.create }}
volumes:
- name: cert
secret:
defaultMode: 420
secretName: {{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand Down

0 comments on commit 0ee1fbc

Please sign in to comment.