14 lines
342 B
YAML
14 lines
342 B
YAML
{{- 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 }}
|