We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b5687b + ec3d1e2 commit 5a352b3Copy full SHA for 5a352b3
1 file changed
demo/scripts/common.sh
@@ -28,7 +28,7 @@ SCRIPTS_DIR="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)"
28
# The registry, image and tag for the example driver
29
: ${DRIVER_IMAGE_REGISTRY:="registry.k8s.io/dra-example-driver"}
30
: ${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')"}
+: ${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')"}
32
: ${DRIVER_IMAGE_PLATFORM:="ubuntu22.04"}
33
34
# The kubernetes repo to build the kind cluster from
0 commit comments