2024-08-20 18:13:23 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -exuo pipefail
|
|
|
|
|
2024-09-10 07:32:41 +00:00
|
|
|
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
|
|
|
|
2024-08-20 18:13:23 +00:00
|
|
|
header="# DO NOT EDIT: This file has been automatically generated by the script in helm/render-all.sh, edits may get overwritten"
|
|
|
|
|
2024-08-27 05:52:28 +00:00
|
|
|
# operators
|
2024-09-09 17:02:04 +00:00
|
|
|
for component in openbao external-secrets secrets-store-csi-driver; do
|
2024-09-02 04:51:53 +00:00
|
|
|
mkdir -p ../k8s/operators/${component}
|
2024-08-27 05:52:28 +00:00
|
|
|
echo "${header}" > ../k8s/operators/${component}/bundle.yaml
|
2024-09-10 16:19:25 +00:00
|
|
|
rm -rf "${component}/charts" # it doesn't seem to update them otherwise
|
2024-08-27 05:52:28 +00:00
|
|
|
kubectl kustomize --enable-helm ${component}/ >> ../k8s/operators/${component}/bundle.yaml
|
|
|
|
done
|