Skip to content

Commit

Permalink
Adding proxy user tls secret template.
Browse files Browse the repository at this point in the history
Implements #22

Signed-off-by: Vincent Du <[email protected]>
  • Loading branch information
Vincent Du committed Oct 2, 2023
1 parent 5cacb71 commit 37e7c81
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/milvus/templates/proxy-tls-secret.yaml
Original file line number Diff line number Diff line change
@@ -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 -}}

0 comments on commit 37e7c81

Please sign in to comment.