rancher-charts/charts/longhorn/1.1.000/templates/tls-secrets.yaml

17 lines
376 B
YAML
Raw Normal View History

2020-09-30 23:34:22 +00:00
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.secrets }}
apiVersion: v1
kind: Secret
metadata:
name: longhorn
2021-01-07 05:24:25 +00:00
namespace: {{ include "release_namespace" . }}
2020-09-30 23:34:22 +00:00
labels: {{- include "longhorn.labels" . | nindent 4 }}
app: longhorn
type: kubernetes.io/tls
data:
tls.crt: {{ .certificate | b64enc }}
tls.key: {{ .key | b64enc }}
---
{{- end }}
{{- end }}