Skip to content

Commit 928acb2

Browse files
authored
Merge pull request #9956 from jandubois/fix/spinkube-test-kube-context
BATS: pass `--context rancher-desktop` to `spin kube deploy`
2 parents 685cd83 + a47bda6 commit 928acb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bats/tests/k8s/spinkube-npm.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ local_setup() {
4141
}
4242

4343
@test 'deploy app to kubernetes' {
44-
spin kube deploy --from "$MY_APP_IMAGE"
44+
spin kube deploy --context rancher-desktop --from "$MY_APP_IMAGE"
4545
}
4646

4747
# TODO replace ingress with port-forwarding

bats/tests/k8s/spinkube.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local_setup() {
2727
@test 'deploy app to kubernetes' {
2828
# Newer versions of the sample app have moved from "deislabs" to "spinkube":
2929
# ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.13.0
30-
spin kube deploy --from ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.10.0
30+
spin kube deploy --context rancher-desktop --from ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.10.0
3131
}
3232

3333
# TODO replace ingress with port-forwarding

0 commit comments

Comments
 (0)