This commit is contained in:
parent
aa00c87a5d
commit
eeba61f7e1
13 changed files with 17551 additions and 6 deletions
|
@ -4,11 +4,21 @@ 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
|
||||
render_helm() {
|
||||
target="${1}"
|
||||
component="${2}"
|
||||
mkdir -p "${target}/${component}"
|
||||
echo "${header}" > "${target}/${component}/bundle.yaml"
|
||||
rm -rf "${component}/charts" # it doesn't seem to update them otherwise
|
||||
kubectl kustomize --enable-helm ${component}/ >> ../k8s/operators/${component}/bundle.yaml
|
||||
kubectl kustomize --enable-helm "${component}/" >> "${target}/${component}/bundle.yaml"
|
||||
}
|
||||
|
||||
# main k8s cluster operators
|
||||
for component in openbao external-secrets secrets-store-csi-driver; do
|
||||
render_helm ../k8s/operators "${component}"
|
||||
done
|
||||
|
||||
# cisco k8s cluster operators
|
||||
for component in rook; do
|
||||
render_helm ../talos/k8s/operators "${component}"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue