Files
charts/bitnami/thanos/templates/objstore-secret.yaml
Juan Ariza Toledano 91120ea463 [bitnami/thanos] New major version (#7875)
* [bitnami/thanos] New major version

Signed-off-by: juan131 <juanariza@vmware.com>

* Add commonAnnotations, extraDeploy, persistence.annotations, ingress.tls, ingress.selfSigned, sidecars, extraEnvVars and updateStrategy standardizations

Signed-off-by: juan131 <juanariza@vmware.com>

* Remove trailing spaces

Signed-off-by: juan131 <juanariza@vmware.com>

* Add *.service.ports, *.service.NodePorts and *service.portextraPorts

Signed-off-by: juan131 <juanariza@vmware.com>

* Add note about deprecated values

Signed-off-by: juan131 <juanariza@vmware.com>

* [bitnami/thanos] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2021-10-21 17:45:38 +02:00

23 lines
947 B
YAML

{{- 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" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
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 }}