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
5 files
+ 162
6
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -128,6 +128,11 @@ spec:
volumeMounts:
- name: configuration
mountPath: /etc/swh
{{- range $volume_name, $volume_config := .configuration.volumes }}
- name: {{ $volume_name }}
mountPath: {{ $volume_config.mountPath }}
readOnly: {{ $volume_config.readOnly | default "false" }}
{{ end }}
volumes:
- name: configuration
emptyDir: {}
@@ -137,4 +142,8 @@ spec:
items:
- key: "config.yml.template"
path: "config.yml.template"
{{- end -}}
{{ range $volume_name, $volume_config := .configuration.volumes }}
- name: {{ $volume_name }}
{{ toYaml $volume_config.volumeDefinition | nindent 8 }}
{{ end }}
{{ end }}
Loading