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: cinder-bin |
| 23 | data: |
| 24 | {{- if .Values.conf.enable_iscsi }} |
| 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.images.local_registry.active }} |
| 33 | image-repo-sync.sh: | |
| 34 | {{- include "helm-toolkit.scripts.image_repo_sync" . | indent 4 }} |
| 35 | {{- end }} |
| 36 | rally-test.sh: | |
| 37 | {{ tuple $rallyTests | include "helm-toolkit.scripts.rally_test" | indent 4 }} |
| 38 | db-init.py: | |
| 39 | {{- include "helm-toolkit.scripts.db_init" . | indent 4 }} |
| 40 | db-sync.sh: | |
| 41 | {{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 42 | db-drop.py: | |
| 43 | {{- include "helm-toolkit.scripts.db_drop" . | indent 4 }} |
| 44 | ks-service.sh: | |
| 45 | {{- include "helm-toolkit.scripts.keystone_service" . | indent 4 }} |
| 46 | ks-endpoints.sh: | |
| 47 | {{- include "helm-toolkit.scripts.keystone_endpoints" . | indent 4 }} |
| 48 | ks-user.sh: | |
| 49 | {{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }} |
| 50 | create-internal-tenant.sh: | |
| 51 | {{ tuple "bin/_create-internal-tenant-id.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 52 | retrieve-internal-tenant.sh: | |
| 53 | {{ tuple "bin/_retrieve-internal-tenant-id.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 54 | cinder-api.sh: | |
| 55 | {{ tuple "bin/_cinder-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 56 | cinder-backup.sh: | |
| 57 | {{ tuple "bin/_cinder-backup.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 58 | cinder-scheduler.sh: | |
| 59 | {{ tuple "bin/_cinder-scheduler.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 60 | cinder-volume.sh: | |
| 61 | {{ tuple "bin/_cinder-volume.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 62 | ceph-keyring.sh: | |
| 63 | {{ tuple "bin/_ceph-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 64 | ceph-admin-keyring.sh: | |
| 65 | {{ tuple "bin/_ceph-admin-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 66 | volume-usage-audit.sh: | |
| 67 | {{ tuple "bin/_volume-usage-audit.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 68 | backup-storage-init.sh: | |
| 69 | {{ tuple "bin/_backup-storage-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 70 | storage-init.sh: | |
| 71 | {{ tuple "bin/_storage-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 72 | clean-secrets.sh: | |
| 73 | {{ tuple "bin/_clean-secrets.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 74 | {{- if .Values.bootstrap.enabled }} |
| 75 | bootstrap.sh: | |
| 76 | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 77 | {{- end }} |
| 78 | rabbit-init.sh: | |
| 79 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 80 | {{- end }} |
| 81 | {{- if .Values.backup.external_ceph_rbd.enabled }} |
| 82 | external-ceph-rbd-admin-keyring.sh: | |
| 83 | {{ tuple "bin/_external-ceph-rbd-admin-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 84 | {{- end }} |