diff --git a/charts/milvus/templates/proxy-tls-secret.yaml b/charts/milvus/templates/proxy-tls-secret.yaml new file mode 100644 index 0000000..86c6cf4 --- /dev/null +++ b/charts/milvus/templates/proxy-tls-secret.yaml @@ -0,0 +1,16 @@ +{{- if .Values.proxy.tls.enabled }} + +{{- if and (.Values.proxy.tls.cert) (.Values.proxy.tls.key) }} +--- +apiVersion: v1 +kind: Secret +metadata: + name: {{ .Values.tls.secretName }} +data: + tls.crt: {{ .Values.proxy.tls.cert }} + tls.key: {{ .Values.proxy.tls.key }} +type: kubernetes.io/tls +{{- end }} + +{{- end -}} +