infra/helm/render-all.sh

13 lines
499 B
Bash
Executable file

#!/bin/bash
set -exuo pipefail
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
header="# DO NOT EDIT: This file has been automatically generated by the script in helm/render-all.sh, edits may get overwritten"
# operators
for component in openbao external-secrets secrets-store-csi-driver; do
mkdir -p ../k8s/operators/${component}
echo "${header}" > ../k8s/operators/${component}/bundle.yaml
kubectl kustomize --enable-helm ${component}/ >> ../k8s/operators/${component}/bundle.yaml
done