mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
25 lines
917 B
YAML
25 lines
917 B
YAML
{{- /*
|
|
Copyright VMware, Inc.
|
|
SPDX-License-Identifier: APACHE-2.0
|
|
*/}}
|
|
|
|
{{- if (include "thanos.createObjstoreSecret" .) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "common.names.fullname" . }}-objstore-secret
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
data:
|
|
objstore.yml: |-
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.objstoreConfig "context" $) | b64enc | nindent 4 }}
|
|
{{- if .Values.indexCacheConfig }}
|
|
index-cache.yml: |-
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.indexCacheConfig "context" $) | b64enc | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.bucketCacheConfig }}
|
|
bucket-cache.yml: |-
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.bucketCacheConfig "context" $) | b64enc | nindent 4 }}
|
|
{{- end }}
|
|
{{ end }}
|