Skip to content

Commit 5a352b3

Browse files
authored
Merge pull request #154 from christian-westbrook/remove-helm-dependency
Remove helm dependency which causes the Docker build to fail
2 parents 8b5687b + ec3d1e2 commit 5a352b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/scripts/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SCRIPTS_DIR="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)"
2828
# The registry, image and tag for the example driver
2929
: ${DRIVER_IMAGE_REGISTRY:="registry.k8s.io/dra-example-driver"}
3030
: ${DRIVER_IMAGE_NAME:="${DRIVER_NAME}"}
31-
: ${DRIVER_IMAGE_TAG:="$(helm show chart $(git rev-parse --show-toplevel)/deployments/helm/${DRIVER_NAME} | sed -n 's/^appVersion: //p')"}
31+
: ${DRIVER_IMAGE_TAG:="$(cat $(git rev-parse --show-toplevel)/deployments/helm/${DRIVER_NAME}/Chart.yaml | grep appVersion | sed 's/"//g' | sed -n 's/^appVersion: //p')"}
3232
: ${DRIVER_IMAGE_PLATFORM:="ubuntu22.04"}
3333

3434
# The kubernetes repo to build the kind cluster from

0 commit comments

Comments
 (0)