mirror of https://git.rancher.io/charts
15 lines
501 B
YAML
15 lines
501 B
YAML
|
{{- if .Values.elasticsearch.enabled }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-elasticsearch
|
||
|
labels:
|
||
|
{{ include "logging-operator.labels" . | indent 4 }}
|
||
|
type: Opaque
|
||
|
data:
|
||
|
password: {{ .Values.elasticsearch.password | b64enc | quote }}
|
||
|
client_cert: {{ .Values.elasticsearch.client_cert | b64enc | quote }}
|
||
|
client_key: {{ .Values.elasticsearch.client_key | b64enc | quote }}
|
||
|
client_key_pass: {{ .Values.elasticsearch.client_key_pass | b64enc | quote }}
|
||
|
{{- end }}
|