Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 1 | {{/* |
| 2 | Copyright 2019 Samsung Electronics Co., Ltd. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */}} |
| 16 | |
| 17 | {{- if .Values.manifests.configmap_bin }} |
| 18 | {{- $envAll := . }} |
| 19 | {{- $rallyTests := .Values.conf.rally_tests }} |
| 20 | --- |
| 21 | apiVersion: v1 |
| 22 | kind: ConfigMap |
| 23 | metadata: |
| 24 | name: octavia-bin |
| 25 | data: |
| 26 | {{- if .Values.images.local_registry.active }} |
| 27 | image-repo-sync.sh: | |
| 28 | {{- include "helm-toolkit.scripts.image_repo_sync" . | indent 4 }} |
| 29 | {{- end }} |
| 30 | {{- if .Values.bootstrap.enabled }} |
| 31 | bootstrap.sh: | |
| 32 | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 33 | {{- end }} |
| 34 | rally-test.sh: | |
| 35 | {{ tuple $rallyTests | include "helm-toolkit.scripts.rally_test" | indent 4 }} |
| 36 | db-init.py: | |
| 37 | {{- include "helm-toolkit.scripts.db_init" . | indent 4 }} |
| 38 | db-sync.sh: | |
| 39 | {{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 40 | db-drop.py: | |
| 41 | {{- include "helm-toolkit.scripts.db_drop" . | indent 4 }} |
| 42 | ks-service.sh: | |
| 43 | {{- include "helm-toolkit.scripts.keystone_service" . | indent 4 }} |
| 44 | ks-endpoints.sh: | |
| 45 | {{- include "helm-toolkit.scripts.keystone_endpoints" . | indent 4 }} |
| 46 | ks-user.sh: | |
| 47 | {{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }} |
| 48 | octavia-api.sh: | |
| 49 | {{ tuple "bin/_octavia-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 50 | octavia-health-manager.sh: | |
| 51 | {{ tuple "bin/_octavia-health-manager.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 52 | octavia-health-manager-nic-init.sh: | |
| 53 | {{ tuple "bin/_octavia-health-manager-nic-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 54 | octavia-health-manager-get-port.sh: | |
| 55 | {{ tuple "bin/_octavia-health-manager-get-port.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 56 | octavia-housekeeping.sh: | |
| 57 | {{ tuple "bin/_octavia-housekeeping.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 58 | octavia-worker.sh: | |
| 59 | {{ tuple "bin/_octavia-worker.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 60 | rabbit-init.sh: | |
| 61 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 62 | {{- end }} |