Skip to content

Commit

Permalink
servicemonitor supports tls client certs
Browse files Browse the repository at this point in the history
  • Loading branch information
gugu committed Aug 27, 2023
1 parent ca6096e commit 5823f6a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion charts/redpanda/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,22 @@ spec:
scheme: https
tlsConfig:
insecureSkipVerify: true
ca:
secret:
name: {{ template "redpanda.fullname" $ }}-default-cert
key: ca.crt
cert:
secret:
name: {{ template "redpanda.fullname" $ }}-default-cert
key: tls.crt
key:
secret:
name: {{ template "redpanda.fullname" $ }}-default-cert
key: tls.key
{{- end }}
selector:
matchLabels:
monitoring.redpanda.com/enabled: "true"
app.kubernetes.io/name: {{ template "redpanda.name" . }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
{{- end }}
{{- end }}

0 comments on commit 5823f6a

Please sign in to comment.