mirror of https://git.rancher.io/charts
17 lines
379 B
YAML
17 lines
379 B
YAML
|
{{- if .Values.ingress.enabled }}
|
||
|
{{- range .Values.ingress.secrets }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ .name }}
|
||
|
namespace: {{ include "release_namespace" $ }}
|
||
|
labels: {{- include "longhorn.labels" $ | nindent 4 }}
|
||
|
app: longhorn
|
||
|
type: kubernetes.io/tls
|
||
|
data:
|
||
|
tls.crt: {{ .certificate | b64enc }}
|
||
|
tls.key: {{ .key | b64enc }}
|
||
|
---
|
||
|
{{- end }}
|
||
|
{{- end }}
|