rancher-partner-charts/charts/f5/nginx-ingress/templates/controller-secret.yaml

14 lines
470 B
YAML

{{ if and (not .Values.controller.defaultTLS.secret) (.Values.controller.defaultTLS.cert) (.Values.controller.defaultTLS.key) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "nginx-ingress.defaultTLSName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "nginx-ingress.labels" . | nindent 4 }}
type: kubernetes.io/tls
data:
tls.crt: {{ .Values.controller.defaultTLS.cert }}
tls.key: {{ .Values.controller.defaultTLS.key }}
{{- end }}