blob: bd80c40eeb454a3f335a4cdd71479a4a5bbbfe7d [file] [log] [blame]
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001{{/*
2Licensed under the Apache License, Version 2.0 (the "License");
3you may not use this file except in compliance with the License.
4You may obtain a copy of the License at
5
6 http://www.apache.org/licenses/LICENSE-2.0
7
8Unless required by applicable law or agreed to in writing, software
9distributed under the License is distributed on an "AS IS" BASIS,
10WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11See the License for the specific language governing permissions and
12limitations under the License.
13*/}}
14
15{{- if .Values.manifests.configmap_bin }}
16{{- $envAll := . }}
17{{- $rallyTests := .Values.conf.rally_tests }}
18---
19apiVersion: v1
20kind: ConfigMap
21metadata:
22 name: neutron-bin
23data:
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 Naserf3f59a72023-01-15 21:02:04 -050062 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 }}
ricolin18e6fd32023-07-17 06:17:15 +000068{{- if .Values.conf.netoffload.enabled }}
Mohammed Nasera720f882023-06-30 23:48:02 -040069 neutron-openvswitch-agent-init-netoffload.sh: |
70{{ tuple "bin/_neutron-openvswitch-agent-init-netoffload.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
ricolin18e6fd32023-07-17 06:17:15 +000071{{- end }}
Mohammed Naserf3f59a72023-01-15 21:02:04 -050072 neutron-openvswitch-agent-readiness.sh: |
73{{ tuple "bin/_neutron-openvswitch-agent-readiness.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Mohammed Nasera720f882023-06-30 23:48:02 -040074 neutron-openvswitch-agent-liveness.sh: |
75{{ tuple "bin/_neutron-openvswitch-agent-liveness.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Mohammed Naserf3f59a72023-01-15 21:02:04 -050076 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 Lincf86b122023-11-02 01:29:14 +080086 neutron-bgp-dragent.sh: |
87{{ tuple "bin/_neutron-bgp-dragent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Mohammed Naserf3f59a72023-01-15 21:02:04 -050088{{- 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 }}
Mohammed Nasere40c3e82024-07-04 02:52:34 -040094 neutron-policy-server.sh: |
95{{ tuple "bin/_neutron-policy-server.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Oleksandr K.10a2db72025-01-07 23:11:24 -080096 neutron-rpc-server.sh: |
97{{ tuple "bin/_neutron-rpc-server.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Dong Ma9a6ef682025-01-16 09:57:50 +000098 neutron-ironic-agent-init.sh: |
99{{ tuple "bin/_neutron-ironic-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500100 neutron-ironic-agent.sh: |
101{{ tuple "bin/_neutron-ironic-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Mohammed Naser43677f62023-07-12 17:58:34 -0400102 neutron-netns-cleanup-cron.sh: |
103{{ tuple "bin/_neutron-netns-cleanup-cron.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500104 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 Kozachenkoc0022be2023-05-23 20:36:21 +0200108
Mohammed Naser593ec012023-07-23 09:20:05 +0000109 neutron-metadata-agent-init.sh: |
110{{ tuple "bin/_neutron-metadata-agent-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200111{{- 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 Naser593ec012023-07-23 09:20:05 +0000114 neutron-ovn-init.sh: |
115{{ tuple "bin/_neutron-ovn-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200116{{- else }}
117 neutron-metadata-agent.sh: |
118{{ tuple "bin/_neutron-metadata-agent.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200119{{- end }}
120
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500121{{- if ( has "tungstenfabric" .Values.network.backend ) }}
122 tf-plugin.pth: |
123 /opt/plugin/site-packages
124{{- end }}
125{{- end }}