17 lines
628 B
YAML
Raw Normal View History

2022-08-12 10:20:19 +02:00
{{- if and .Values.hubble.enabled .Values.hubble.tls.enabled (not .Values.hubble.tls.auto.enabled) .Values.hubble.relay.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: hubble-relay-client-certs
namespace: {{ .Release.Namespace }}
{{- with .Values.hubble.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
2022-08-12 10:20:19 +02:00
type: kubernetes.io/tls
data:
ca.crt: {{ .Values.tls.ca.cert }}
2022-08-12 10:20:19 +02:00
tls.crt: {{ .Values.hubble.relay.tls.client.cert | required "missing hubble.relay.tls.client.cert" }}
tls.key: {{ .Values.hubble.relay.tls.client.key | required "missing hubble.relay.tls.client.key" }}
{{- end }}