Skip to content
Snippets Groups Projects

Add objstorage template & deploy objstorage read-write/read-only to staging (on storage1.staging)

Merged Antoine R. Dumont requested to merge add-objstorage-template into staging
Files
13
{{/*
* Create an objstorage configmap for service .serviceType
*/}}
{{ define "swh.objstorage.configmap" }}
---
apiVersion: v1
kind: ConfigMap
metadata:
namespace: {{ .Values.namespace }}
name: {{ .serviceType }}-configuration-template
data:
config.yml.template: |
{{- include "swh.objstorageConfiguration" (dict "configurationRef" .configuration.objstorageConfigurationRef
"Values" .Values) | nindent 4 }}
{{- end -}}
Loading