Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [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: glance-bin |
| 23 | data: |
| 24 | {{- if eq .Values.storage "cinder" }} |
| 25 | iscsiadm: | |
| 26 | {{ tuple "bin/_iscsiadm.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 27 | multipath: | |
| 28 | {{ tuple "bin/_multipath.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 29 | multipathd: | |
| 30 | {{ tuple "bin/_multipathd.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 31 | {{- end }} |
| 32 | {{- if .Values.bootstrap.enabled }} |
| 33 | bootstrap.sh: | |
| 34 | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 35 | {{- end }} |
| 36 | rally-test.sh: | |
| 37 | {{ tuple $rallyTests | include "helm-toolkit.scripts.rally_test" | indent 4 }} |
| 38 | storage-init.sh: | |
| 39 | {{ tuple "bin/_storage-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 40 | metadefs-load.sh: | |
| 41 | {{ tuple "bin/_metadefs-load.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 42 | db-init.py: | |
| 43 | {{- include "helm-toolkit.scripts.db_init" . | indent 4 }} |
| 44 | db-sync.sh: | |
| 45 | {{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 46 | db-drop.py: | |
| 47 | {{- include "helm-toolkit.scripts.db_drop" . | indent 4 }} |
| 48 | ks-service.sh: | |
| 49 | {{- include "helm-toolkit.scripts.keystone_service" . | indent 4 }} |
| 50 | ks-endpoints.sh: | |
| 51 | {{- include "helm-toolkit.scripts.keystone_endpoints" . | indent 4 }} |
| 52 | ks-user.sh: | |
| 53 | {{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }} |
| 54 | glance-api.sh: | |
| 55 | {{ tuple "bin/_glance-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 56 | ceph-keyring.sh: | |
| 57 | {{ tuple "bin/_ceph-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 58 | ceph-admin-keyring.sh: | |
| 59 | {{ tuple "bin/_ceph-admin-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 60 | clean-image.sh: | |
| 61 | {{ tuple "bin/_clean-image.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 62 | clean-secrets.sh: | |
| 63 | {{ tuple "bin/_clean-secrets.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 64 | rabbit-init.sh: | |
| 65 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 66 | {{- if .Values.manifests.certificates }} |
| 67 | nginx.sh: | |
| 68 | {{ tuple "bin/_nginx.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 69 | {{- end }} |
| 70 | {{- end }} |