rancher-partner-charts/charts/kasten/k10/templates/api-tls-secrets.yaml

14 lines
342 B
YAML
Raw Normal View History

2022-11-18 19:37:47 +00:00
{{- if and .Values.secrets.apiTlsCrt .Values.secrets.apiTlsKey }}
apiVersion: v1
kind: Secret
metadata:
labels:
{{ include "helm.labels" . | indent 4 }}
namespace: {{ .Release.Namespace }}
name: gateway-certs
type: kubernetes.io/tls
data:
tls.crt: {{ .Values.secrets.apiTlsCrt }}
tls.key: {{ .Values.secrets.apiTlsKey }}
{{- end }}