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 }}
|
2023-10-16 19:14:53 +02:00
|
|
|
{{- with .Values.hubble.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2022-08-12 10:20:19 +02:00
|
|
|
type: kubernetes.io/tls
|
|
|
|
data:
|
2023-10-16 19:14:53 +02:00
|
|
|
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 }}
|