fermyon-spin-test/generate-k8s.sh
kjuulh 5db3d83c79
feat: with fermyon basic
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-01-23 20:46:28 +01:00

17 lines
368 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
name="spin-containerd-shim-installer"
chart="oci://ghcr.io/fermyon/charts/spin-containerd-shim-installer"
version="0.10.0"
values_file="spin.values.yaml"
output=k8s/spin.yaml
rm -rf "$(dirname $output)"
mkdir -p "$(dirname $output)"
helm template "$name" "$chart" --version "$version" --include-crds -f "$values_file" > $output