constellation/internal/helm/charts/cilium/templates/hubble/tls-provided/relay-server-secret.yaml

17 lines
668 B
YAML
Raw Normal View History

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