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: keystone-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 | ks-user.sh: | |
| 35 | {{- include "helm-toolkit.scripts.keystone_user" . | indent 4 }} |
| 36 | cred-clean.py: | |
| 37 | {{ tuple "bin/_cred-clean.py.tpl" . | include "helm-toolkit.utils.template" |indent 4}} |
| 38 | db-init.py: | |
| 39 | {{- include "helm-toolkit.scripts.db_init" . | indent 4 }} |
| 40 | db-sync.sh: | |
| 41 | {{ tuple "bin/_db-sync.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 42 | db-drop.py: | |
| 43 | {{- include "helm-toolkit.scripts.db_drop" . | indent 4 }} |
| 44 | keystone-api.sh: | |
| 45 | {{ tuple "bin/_keystone-api.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 46 | endpoint-update.py: | |
| 47 | {{ tuple "bin/_endpoint-update.py.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
| 48 | fernet-manage.py: | |
| 49 | {{ tuple "bin/_fernet-manage.py.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 50 | domain-manage.sh: | |
| 51 | {{ tuple "bin/_domain-manage.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 52 | rabbit-init.sh: | |
| 53 | {{- include "helm-toolkit.scripts.rabbit_init" . | indent 4 }} |
| 54 | {{- end }} |