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: nova-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 | {{- if .Values.bootstrap.enabled }} |
| 37 | bootstrap.sh: | |
| 38 | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 39 | {{- end }} |
| 40 | rally-test.sh: | |
| 41 | {{ tuple $rallyTests | include "helm-toolkit.scripts.rally_test" | indent 4 }} |
Oleksandr K. | 24c88fd | 2024-12-08 22:28:50 -0800 | [diff] [blame] | 42 | storage-init.sh: | |
| 43 | {{ tuple "bin/_storage-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 44 | db-init.py: | |
| 45 | {{- include "helm-toolkit.scripts.db_init" . | indent 4 }} |
| 46 | db-sync.sh: | |
| 47 | {{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 48 | db-drop.py: | |
| 49 | {{- include "helm-toolkit.scripts.db_drop" . | indent 4 }} |
| 50 | ks-service.sh: | |
| 51 | {{- include "helm-toolkit.scripts.keystone_service" . | indent 4 }} |
| 52 | ks-endpoints.sh: | |
| 53 | {{- include "helm-toolkit.scripts.keystone_endpoints" . | indent 4 }} |
| 54 | ks-user.sh: | |
| 55 | {{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }} |
| 56 | {{- if .Values.conf.ceph.enabled }} |
| 57 | ceph-keyring.sh: | |
| 58 | {{ tuple "bin/_ceph-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 59 | ceph-admin-keyring.sh: | |
| 60 | {{ tuple "bin/_ceph-admin-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 61 | {{- end }} |
| 62 | {{- if .Values.manifests.cron_job_archive_deleted_rows }} |
| 63 | archive-deleted-rows.sh: | |
| 64 | {{ tuple "bin/_db-archive-deleted-row.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 65 | {{- end }} |
| 66 | health-probe.py: | |
| 67 | {{ tuple "bin/_health-probe.py.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 68 | nova-api.sh: | |
| 69 | {{ tuple "bin/_nova-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 70 | nova-api-metadata.sh: | |
| 71 | {{ tuple "bin/_nova-api-metadata.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 72 | nova-api-metadata-init.sh: | |
| 73 | {{ tuple "bin/_nova-api-metadata-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 74 | nova-compute.sh: | |
| 75 | {{ tuple "bin/_nova-compute.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 76 | nova-compute-init.sh: | |
| 77 | {{ tuple "bin/_nova-compute-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 78 | nova-compute-ironic.sh: | |
| 79 | {{ tuple "bin/_nova-compute-ironic.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 80 | nova-conductor.sh: | |
| 81 | {{ tuple "bin/_nova-conductor.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 82 | nova-scheduler.sh: | |
| 83 | {{ tuple "bin/_nova-scheduler.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 84 | fake-iptables.sh: | |
| 85 | {{ tuple "bin/_fake-iptables.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 86 | nova-console-compute-init.sh: | |
| 87 | {{ tuple "bin/_nova-console-compute-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 88 | nova-console-proxy.sh: | |
| 89 | {{ tuple "bin/_nova-console-proxy.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 90 | nova-console-proxy-init.sh: | |
| 91 | {{ tuple "bin/_nova-console-proxy-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 92 | nova-console-proxy-init-assets.sh: | |
| 93 | {{ tuple "bin/_nova-console-proxy-init-assets.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 94 | ssh-init.sh: | |
| 95 | {{ tuple "bin/_ssh-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 96 | ssh-start.sh: | |
| 97 | {{ tuple "bin/_ssh-start.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 98 | cell-setup.sh: | |
| 99 | {{ tuple "bin/_cell-setup.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 100 | cell-setup-init.sh: | |
| 101 | {{ tuple "bin/_cell-setup-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 102 | nova-service-cleaner.sh: | |
| 103 | {{ tuple "bin/_nova-service-cleaner.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 104 | rabbit-init.sh: | |
| 105 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 106 | wait-for-computes-init.sh: | |
| 107 | {{ tuple "bin/_wait-for-computes-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 108 | {{- if ( has "tungstenfabric" .Values.network.backend ) }} |
| 109 | tf-plugin.pth: | |
| 110 | /opt/plugin/site-packages |
| 111 | {{- end }} |
| 112 | {{- end }} |