mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
968cdc1a38
* cli: move internal packages Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: fix buildfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix exclude dir Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: move back libraries that will not be used by TF provider Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
35 lines
572 B
Bash
Executable File
35 lines
572 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
set -o errtrace
|
|
shopt -s inherit_errexit
|
|
|
|
echo "Pulling Cilium Helm chart..."
|
|
|
|
function cleanup {
|
|
rm -r "${ciliumTmpDir}"
|
|
}
|
|
|
|
trap cleanup EXIT
|
|
|
|
calldir=$(pwd)
|
|
ciliumTmpDir=$(mktemp -d)
|
|
cd "${ciliumTmpDir}"
|
|
|
|
git clone \
|
|
--filter=blob:none \
|
|
--no-checkout \
|
|
--sparse \
|
|
--depth 1 \
|
|
-b 1.15.0-pre.2 \
|
|
https://github.com/cilium/cilium.git
|
|
cd cilium
|
|
|
|
git sparse-checkout add install/kubernetes/cilium
|
|
git checkout
|
|
|
|
git apply "${calldir}/cilium.patch"
|
|
cp -r install/kubernetes/cilium "${calldir}/charts"
|
|
|
|
echo # final newline
|