Mohammed Naser | 298f027 | 2024-07-29 18:43:25 -0400 | [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 | --- |
| 18 | apiVersion: v1 |
| 19 | kind: ConfigMap |
| 20 | metadata: |
| 21 | name: ironic-bin |
| 22 | data: |
| 23 | {{- if .Values.images.local_registry.active }} |
| 24 | image-repo-sync.sh: | |
| 25 | {{- include "helm-toolkit.scripts.image_repo_sync" . | indent 4 }} |
| 26 | {{- end }} |
| 27 | {{- if .Values.bootstrap.image.enabled }} |
| 28 | bootstrap.sh: | |
| 29 | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 30 | {{- end }} |
| 31 | manage-cleaning-network.sh: | |
| 32 | {{ tuple "bin/_manage-cleaning-network.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 33 | retreive-cleaning-network.sh: | |
| 34 | {{ tuple "bin/_retreive-cleaning-network.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 35 | retreive-swift-config.sh: | |
| 36 | {{ tuple "bin/_retreive-swift-config.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 37 | db-drop.py: | |
| 38 | {{- include "helm-toolkit.scripts.db_drop" . | indent 4 }} |
| 39 | db-init.py: | |
| 40 | {{- include "helm-toolkit.scripts.db_init" . | indent 4 }} |
| 41 | db-sync.sh: | |
| 42 | {{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 43 | ks-service.sh: | |
| 44 | {{- include "helm-toolkit.scripts.keystone_service" . | indent 4 }} |
| 45 | ks-endpoints.sh: | |
| 46 | {{- include "helm-toolkit.scripts.keystone_endpoints" . | indent 4 }} |
| 47 | ks-user.sh: | |
| 48 | {{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }} |
| 49 | ironic-api.sh: | |
| 50 | {{ tuple "bin/_ironic-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 51 | ironic-conductor.sh: | |
| 52 | {{ tuple "bin/_ironic-conductor.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 53 | ironic-conductor-init.sh: | |
| 54 | {{ tuple "bin/_ironic-conductor-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Oleksandr K. | ae821ee | 2024-08-08 20:00:26 +0200 | [diff] [blame] | 55 | {{- if .Values.conductor.pxe.enabled }} |
| 56 | {{ include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conductor.pxe.script "key" "ironic-conductor-pxe.sh") | indent 2 }} |
| 57 | {{ include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conductor.pxe.init_script "key" "ironic-conductor-pxe-init.sh") | indent 2 }} |
| 58 | {{ end }} |
| 59 | {{- if .Values.conductor.http.enabled }} |
| 60 | {{ include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conductor.http.script "key" "ironic-conductor-http.sh") | indent 2 }} |
| 61 | {{ include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conductor.http.init_script "key" "ironic-conductor-http-init.sh") | indent 2 }} |
| 62 | {{ end }} |
Mohammed Naser | 298f027 | 2024-07-29 18:43:25 -0400 | [diff] [blame] | 63 | rabbit-init.sh: | |
| 64 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 65 | {{- end }} |