{{- if .Values.manifests.configmap_bin }} {{- $envAll := . }} --- apiVersion: v1 kind: ConfigMap metadata: name: {{ printf "%s-%s" $envAll.Release.Name "bin" }} data: {{- if .Values.images.local_registry.active }} image-repo-sync.sh: | {{- include "helm-toolkit.scripts.image_repo_sync" . | indent 4 }} {{- end }} {{- if .Values.bootstrap.enabled }} bootstrap.sh: | {{ tuple "bin/_bootstrap.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} {{- end }} start.sh: | {{ tuple "bin/_start.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} postgresql-utility-rootwrap: | {{ tuple "bin/utility/_postgresql-utility-rootwrap.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} utilscli: | {{ tuple "bin/utility/_utilscli.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} dbutils: | {{ tuple "bin/utility/_dbutils.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} pgutils.sh: | {{ tuple "bin/utility/_pgutils.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} {{- if .Values.manifests.create_test_database }} create_test_database.sh: | {{ tuple "bin/utility/_create_test_database.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} {{- end }} pg-ondemand-job.sh: | {{ tuple "bin/utility/_pg_ondemand_job.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} {{- end }}