mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-04 11:52:07 +08:00
18 lines
495 B
YAML
18 lines
495 B
YAML
{{- if .Values.createCert }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
type: kubernetes.io/tls
|
|
metadata:
|
|
name: {{ template "elasticsearch.uname" . }}-certs
|
|
labels:
|
|
app: {{ template "elasticsearch.uname" . }}
|
|
chart: "{{ .Chart.Name }}"
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
annotations:
|
|
"helm.sh/hook": "pre-install,pre-upgrade"
|
|
"helm.sh/hook-delete-policy": "before-hook-creation"
|
|
data:
|
|
{{ ( include "elasticsearch.gen-certs" . ) | indent 2 }}
|
|
{{- end }}
|