Fix bootstrap cmd and add data image
diff --git a/charts/manila/templates/bin/_bootstrap.sh.tpl b/charts/manila/templates/bin/_bootstrap.sh.tpl
index df2bbbc..eaa0696 100644
--- a/charts/manila/templates/bin/_bootstrap.sh.tpl
+++ b/charts/manila/templates/bin/_bootstrap.sh.tpl
@@ -21,7 +21,7 @@
{{ range .Values.bootstrap.structured.images }}
openstack image show {{ .name | quote }} || \
- { curl --fail -sSL -O {{ .source_url }}{{ .image_file }}; \
+ (curl --fail -sSL -O {{ .source_url }}{{ .image_file }}; \
openstack image create {{ .name | quote }} \
{{ if .id -}} --id {{ .id }} {{ end -}} \
--disk-format {{ .image_type }} \
@@ -32,7 +32,7 @@
--private
{{- else -}}
--public
- {{- end -}}; }
+ {{- end -}};)
{{ end }}
{{ range .Values.bootstrap.structured.flavors }}
@@ -47,7 +47,7 @@
--public
{{- else -}}
--private
- {{- end -}}; }
+ {{- end -}};
{{ end }}
openstack share type show default || \
diff --git a/charts/manila/templates/configmap-bin.yaml b/charts/manila/templates/configmap-bin.yaml
index 2a68664..5a4222d 100644
--- a/charts/manila/templates/configmap-bin.yaml
+++ b/charts/manila/templates/configmap-bin.yaml
@@ -47,6 +47,8 @@
{{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }}
manila-api.sh: |
{{ tuple "bin/_manila-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
+ manila-data.sh: |
+{{ tuple "bin/_manila-data.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
manila-scheduler.sh: |
{{ tuple "bin/_manila-scheduler.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
manila-share.sh: |
diff --git a/roles/defaults/defaults/main.yml b/roles/defaults/defaults/main.yml
index 7cb2ce3..a72d184 100644
--- a/roles/defaults/defaults/main.yml
+++ b/roles/defaults/defaults/main.yml
@@ -169,5 +169,6 @@
vector: docker.io/timberio/vector:0.27.0-debian
manila_db_sync: quay.io/vexxhost/manila:zed
manila_api: quay.io/vexxhost/manila:zed
+ manila_data: quay.io/vexxhost/manila:zed
manila_scheduler: quay.io/vexxhost/manila:zed
manila_share: quay.io/vexxhost/manila:zed