Skip to content

Commit

Permalink
fix(reana_dev): pass kind_version to kind command string (reanahub#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlemesh committed Jul 31, 2024
1 parent 5381309 commit 51cec3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions reana/reana_dev/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ def add_volume_mounts(node):
kind_provider = "KIND_EXPERIMENTAL_PROVIDER=podman"

# create cluster
cluster_create = "cat <<EOF | {kind_provider} kind create cluster --image kindest/node:{kind_version} --config=-\n{cluster_config}\nEOF"
cluster_create = cluster_create.format(
kind_provider=kind_provider, cluster_config=yaml.dump(cluster_config)
cluster_create = "cat <<EOF | {kind_provider} kind create cluster --image kindest/node:{kind_version} --config=-\n{cluster_config}\nEOF".format(
kind_provider=kind_provider,
kind_version=kind_version,
cluster_config=yaml.dump(cluster_config),
)
run_command(cluster_create, "reana")

Expand Down

0 comments on commit 51cec3a

Please sign in to comment.