Skip to content

Commit

Permalink
Pin Kind node image used in EphemeralCluster
Browse files Browse the repository at this point in the history
By default, `kind` would install a node image for Kubernetes 1.24, which
is a couple minor versions past what we deploy to cloud environments and
which runs afoul of some Terraform bugs[1]. Pin the Kind node image we
use to a Kubernetes 1.22 image, to match the Kind we use in other CI
contexts.

[1]: hashicorp/terraform-provider-kubernetes#1724
  • Loading branch information
tgeoghegan committed Jul 19, 2022
1 parent 2d884e6 commit 0b84edb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions janus_core/src/test_util/kubernetes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ impl EphemeralCluster {
&kubeconfig_path.to_string_lossy(),
"--name",
&cluster_name,
"--image",
"kindest/node:v1.22.9@sha256:8135260b959dfe320206eb36b3aeda9cffcb262f4b44cda6b33f7bb73f453105",
])
.stdin(Stdio::null())
.stdout(Stdio::null())
Expand Down

0 comments on commit 0b84edb

Please sign in to comment.