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: neutron-bin |
| 23 | data: |
| 24 | {{- if .Values.images.local_registry.active }} |
| 25 | image-repo-sync.sh: | |
| 26 | {{- include "helm-toolkit.scripts.image_repo_sync" . | indent 4 }} |
| 27 | {{- end }} |
| 28 | {{- if .Values.bootstrap.enabled }} |
| 29 | bootstrap.sh: | |
| 30 | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 31 | {{- end }} |
| 32 | rally-test.sh: | |
| 33 | {{ tuple $rallyTests | include "helm-toolkit.scripts.rally_test" | indent 4 }} |
| 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 | health-probe.py: | |
| 47 | {{ tuple "bin/_health-probe.py.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 48 | neutron-dhcp-agent.sh: | |
| 49 | {{ tuple "bin/_neutron-dhcp-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 50 | neutron-dhcp-agent-init.sh: | |
| 51 | {{ tuple "bin/_neutron-dhcp-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 52 | neutron-l3-agent.sh: | |
| 53 | {{ tuple "bin/_neutron-l3-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 54 | neutron-l3-agent-init.sh: | |
| 55 | {{ tuple "bin/_neutron-l3-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 56 | neutron-linuxbridge-agent.sh: | |
| 57 | {{ tuple "bin/_neutron-linuxbridge-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 58 | neutron-linuxbridge-agent-init.sh: | |
| 59 | {{ tuple "bin/_neutron-linuxbridge-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 60 | neutron-linuxbridge-agent-init-modules.sh: | |
| 61 | {{ tuple "bin/_neutron-linuxbridge-agent-init-modules.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 62 | neutron-openvswitch-agent.sh: | |
| 63 | {{ tuple "bin/_neutron-openvswitch-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 64 | neutron-openvswitch-agent-init.sh: | |
| 65 | {{ tuple "bin/_neutron-openvswitch-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 66 | neutron-openvswitch-agent-init-modules.sh: | |
| 67 | {{ tuple "bin/_neutron-openvswitch-agent-init-modules.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
ricolin | 18e6fd3 | 2023-07-17 06:17:15 +0000 | [diff] [blame] | 68 | {{- if .Values.conf.netoffload.enabled }} |
Mohammed Naser | a720f88 | 2023-06-30 23:48:02 -0400 | [diff] [blame] | 69 | neutron-openvswitch-agent-init-netoffload.sh: | |
| 70 | {{ tuple "bin/_neutron-openvswitch-agent-init-netoffload.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
ricolin | 18e6fd3 | 2023-07-17 06:17:15 +0000 | [diff] [blame] | 71 | {{- end }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 72 | neutron-openvswitch-agent-readiness.sh: | |
| 73 | {{ tuple "bin/_neutron-openvswitch-agent-readiness.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | a720f88 | 2023-06-30 23:48:02 -0400 | [diff] [blame] | 74 | neutron-openvswitch-agent-liveness.sh: | |
| 75 | {{ tuple "bin/_neutron-openvswitch-agent-liveness.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 76 | neutron-sriov-agent.sh: | |
| 77 | {{ tuple "bin/_neutron-sriov-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 78 | neutron-sriov-agent-init.sh: | |
| 79 | {{ tuple "bin/_neutron-sriov-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 80 | neutron-l2gw-agent.sh: | |
| 81 | {{ tuple "bin/_neutron-l2gw-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 82 | neutron-bagpipe-bgp.sh: | |
| 83 | {{ tuple "bin/_neutron-bagpipe-bgp.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 84 | neutron-bagpipe-bgp-init.sh: | |
| 85 | {{ tuple "bin/_neutron-bagpipe-bgp-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Rico Lin | cf86b12 | 2023-11-02 01:29:14 +0800 | [diff] [blame] | 86 | neutron-bgp-dragent.sh: | |
| 87 | {{ tuple "bin/_neutron-bgp-dragent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 88 | {{- if .Values.manifests.certificates }} |
| 89 | nginx.sh: | |
| 90 | {{ tuple "bin/_nginx.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 91 | {{- end }} |
| 92 | neutron-server.sh: | |
| 93 | {{ tuple "bin/_neutron-server.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Rico Lin | 7113243 | 2024-07-03 02:15:57 +0800 | [diff] [blame] | 94 | neutron-policy-server.sh: | |
| 95 | {{ tuple "bin/_neutron-policy-server.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Rico Lin | 0e15348 | 2024-05-03 03:29:14 +0800 | [diff] [blame] | 96 | neutron-rpc-server.sh: | |
| 97 | {{ tuple "bin/_neutron-rpc-server.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Dong Ma | 60aa8ed | 2025-01-16 09:57:50 +0000 | [diff] [blame] | 98 | neutron-ironic-agent-init.sh: | |
| 99 | {{ tuple "bin/_neutron-ironic-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 100 | neutron-ironic-agent.sh: | |
| 101 | {{ tuple "bin/_neutron-ironic-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | 43677f6 | 2023-07-12 17:58:34 -0400 | [diff] [blame] | 102 | neutron-netns-cleanup-cron.sh: | |
| 103 | {{ tuple "bin/_neutron-netns-cleanup-cron.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 104 | rabbit-init.sh: | |
| 105 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 106 | neutron-test-force-cleanup.sh: | |
| 107 | {{ tuple "bin/_neutron-test-force-cleanup.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Oleksandr Kozachenko | c0022be | 2023-05-23 20:36:21 +0200 | [diff] [blame] | 108 | |
Mohammed Naser | 593ec01 | 2023-07-23 09:20:05 +0000 | [diff] [blame] | 109 | neutron-metadata-agent-init.sh: | |
| 110 | {{ tuple "bin/_neutron-metadata-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Oleksandr Kozachenko | c0022be | 2023-05-23 20:36:21 +0200 | [diff] [blame] | 111 | {{- if ( has "ovn" .Values.network.backend ) }} |
| 112 | neutron-ovn-metadata-agent.sh: | |
| 113 | {{ tuple "bin/_neutron-ovn-metadata-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | 593ec01 | 2023-07-23 09:20:05 +0000 | [diff] [blame] | 114 | neutron-ovn-init.sh: | |
| 115 | {{ tuple "bin/_neutron-ovn-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Rico Lin | 9245bf7 | 2024-10-22 01:16:35 +0800 | [diff] [blame] | 116 | neutron-ovn-vpn-agent-init.sh: | |
| 117 | {{ tuple "bin/_neutron-ovn-vpn-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 118 | neutron-ovn-vpn-agent.sh: | |
| 119 | {{ tuple "bin/_neutron-ovn-vpn-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Oleksandr Kozachenko | c0022be | 2023-05-23 20:36:21 +0200 | [diff] [blame] | 120 | {{- else }} |
| 121 | neutron-metadata-agent.sh: | |
| 122 | {{ tuple "bin/_neutron-metadata-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Oleksandr Kozachenko | c0022be | 2023-05-23 20:36:21 +0200 | [diff] [blame] | 123 | {{- end }} |
| 124 | |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 125 | {{- if ( has "tungstenfabric" .Values.network.backend ) }} |
| 126 | tf-plugin.pth: | |
| 127 | /opt/plugin/site-packages |
| 128 | {{- end }} |
| 129 | {{- end }} |