okozachenko1203 | 61008f7 | 2023-03-23 21:21:09 +1100 | [diff] [blame] | 1 | {{/* |
| 2 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | you may not use this file except in compliance with the License. |
| 4 | You may obtain a copy of the License at |
| 5 | |
| 6 | http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | |
| 8 | Unless required by applicable law or agreed to in writing, software |
| 9 | distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | See the License for the specific language governing permissions and |
| 12 | limitations under the License. |
| 13 | */}} |
| 14 | |
| 15 | {{- if .Values.manifests.configmap_bin }} |
| 16 | {{- $envAll := . }} |
| 17 | {{- $rallyTests := .Values.conf.rally_tests }} |
| 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: ConfigMap |
| 21 | metadata: |
| 22 | name: manila-bin |
| 23 | data: |
| 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 Lin | 59516f6 | 2023-10-04 23:25:47 +0800 | [diff] [blame] | 48 | manila-share-init.sh: | |
| 49 | {{ tuple "bin/_manila-share-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
okozachenko1203 | 61008f7 | 2023-03-23 21:21:09 +1100 | [diff] [blame] | 50 | manila-api.sh: | |
| 51 | {{ tuple "bin/_manila-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
okozachenko1203 | 5f08910 | 2023-03-24 23:42:22 +1100 | [diff] [blame] | 52 | manila-data.sh: | |
| 53 | {{ tuple "bin/_manila-data.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
okozachenko1203 | 61008f7 | 2023-03-23 21:21:09 +1100 | [diff] [blame] | 54 | 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 }} |