blob: 8baa2db77ed0f09b43d61c190408110860e2cf44 [file] [log] [blame]
okozachenko120361008f72023-03-23 21:21:09 +11001{{/*
2Licensed under the Apache License, Version 2.0 (the "License");
3you may not use this file except in compliance with the License.
4You may obtain a copy of the License at
5
6 http://www.apache.org/licenses/LICENSE-2.0
7
8Unless required by applicable law or agreed to in writing, software
9distributed under the License is distributed on an "AS IS" BASIS,
10WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11See the License for the specific language governing permissions and
12limitations under the License.
13*/}}
14
15{{- if .Values.manifests.configmap_bin }}
16{{- $envAll := . }}
17{{- $rallyTests := .Values.conf.rally_tests }}
18---
19apiVersion: v1
20kind: ConfigMap
21metadata:
22 name: manila-bin
23data:
24 rally-test.sh: |
25{{ tuple $rallyTests | include "helm-toolkit.scripts.rally_test" | indent 4 }}
26{{- if .Values.images.local_registry.active }}
27 image-repo-sync.sh: |
28{{- include "helm-toolkit.scripts.image_repo_sync" . | indent 4 }}
29{{- end }}
30{{- if .Values.bootstrap.enabled }}
31 bootstrap.sh: |
32{{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
33{{- end }}
34 db-init.py: |
35{{- include "helm-toolkit.scripts.db_init" . | indent 4 }}
36 db-sync.sh: |
37{{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
38 db-drop.py: |
39{{- include "helm-toolkit.scripts.db_drop" . | indent 4 }}
40 ks-service.sh: |
41{{- include "helm-toolkit.scripts.keystone_service" . | indent 4 }}
42 ks-endpoints.sh: |
43{{- include "helm-toolkit.scripts.keystone_endpoints" . | indent 4 }}
44 ks-user.sh: |
45{{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }}
46 rabbit-init.sh: |
47{{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }}
Rico Lin59516f62023-10-04 23:25:47 +080048 manila-share-init.sh: |
49{{ tuple "bin/_manila-share-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
okozachenko120361008f72023-03-23 21:21:09 +110050 manila-api.sh: |
51{{ tuple "bin/_manila-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
okozachenko12035f089102023-03-24 23:42:22 +110052 manila-data.sh: |
53{{ tuple "bin/_manila-data.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
okozachenko120361008f72023-03-23 21:21:09 +110054 manila-scheduler.sh: |
55{{ tuple "bin/_manila-scheduler.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
56 manila-share.sh: |
57{{ tuple "bin/_manila-share.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
58{{- end }}