mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
b966f57a2f
* Allow enabling/disabling of CSI driver through config * Fix inconsistent namespace parsing * Deploy GCP CSI driver on init * Update invalid pod tolerations * Add generate script for CSI charts * Update generateCilium script Signed-off-by: Daniel Weiße <dw@edgeless.systems>
21 lines
440 B
Bash
Executable File
21 lines
440 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
shopt -s inherit_errexit
|
|
|
|
calldir=$(pwd)
|
|
ciliumTmpDir=$(mktemp -d)
|
|
pushd "${ciliumTmpDir}"
|
|
git clone --filter=blob:none --no-checkout --sparse --depth 1 -b 1.12.1 https://github.com/cilium/cilium.git
|
|
pushd cilium
|
|
|
|
git sparse-checkout add install/kubernetes/cilium
|
|
git checkout
|
|
|
|
git apply "${calldir}"/cilium.patch
|
|
cp -r install/kubernetes/cilium "${calldir}"/charts
|
|
|
|
popd
|
|
popd
|
|
rm -r "${ciliumTmpDir}"
|