github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/thanos/templates/objstore-secret.yaml (about) 1 {{- if (include "thanos.createObjstoreSecret" .) }} 2 apiVersion: v1 3 kind: Secret 4 metadata: 5 name: {{ include "common.names.fullname" . }}-objstore-secret 6 namespace: {{ .Release.Namespace | quote }} 7 labels: {{- include "common.labels.standard" . | nindent 4 }} 8 {{- if .Values.commonLabels }} 9 {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} 10 {{- end }} 11 data: 12 objstore.yml: |- 13 {{- include "common.tplvalues.render" (dict "value" .Values.objstoreConfig "context" $) | b64enc | nindent 4 }} 14 {{- if .Values.indexCacheConfig }} 15 index-cache.yml: |- 16 {{- include "common.tplvalues.render" (dict "value" .Values.indexCacheConfig "context" $) | b64enc | nindent 4 }} 17 {{- end }} 18 {{- if .Values.bucketCacheConfig }} 19 bucket-cache.yml: |- 20 {{- include "common.tplvalues.render" (dict "value" .Values.bucketCacheConfig "context" $) | b64enc | nindent 4 }} 21 {{- end }} 22 {{ end }}