mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-16 21:34:31 +08:00
初始化3.0.0版本
This commit is contained in:
17
km-dist/helm/charts/elasticsearch/templates/secret-cert.yaml
Normal file
17
km-dist/helm/charts/elasticsearch/templates/secret-cert.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
{{- 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 }}
|
||||
Reference in New Issue
Block a user