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 7b323eb commit e08b5b8
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 @@ -172,9 +172,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 e08b5b8

Please sign in to comment.