diff --git a/charts/jaeger-operator/Chart.yaml b/charts/jaeger-operator/Chart.yaml index 1e6791a5..6efd37bf 100644 --- a/charts/jaeger-operator/Chart.yaml +++ b/charts/jaeger-operator/Chart.yaml @@ -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 diff --git a/charts/jaeger-operator/templates/deployment.yaml b/charts/jaeger-operator/templates/deployment.yaml index 01b10b72..9bce954a 100644 --- a/charts/jaeger-operator/templates/deployment.yaml +++ b/charts/jaeger-operator/templates/deployment.yaml @@ -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 @@ -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 }}