Skip to content

Commit

Permalink
do not assume a default storage profile
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesClonk committed Aug 2, 2023
1 parent 5761576 commit 7dec7d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export VCD_CLUSTER=$(yq -e eval '.vcd.cluster_name // "kubeone"' config.yaml)
export CP_MEMORY=$(yq -e eval '.control_plane.memory // 4096' config.yaml)
export CP_CPU=$(yq -e eval '.control_plane.cpus // 2' config.yaml)
export CP_DISK=$(yq -e eval '.control_plane.disk_size_mb // 51200' config.yaml)
export CP_STORAGE_PROFILE=$(yq -e eval '.control_plane.storage_profile // "*"' config.yaml)
export CP_STORAGE_PROFILE=$(yq -e eval '.control_plane.storage_profile' config.yaml)
export CP_VM_COUNT=$(yq -e eval '.control_plane.vm_count // 3' config.yaml)
export WORKER_MEMORY=$(yq -e eval '.workers.memory // 8192' config.yaml)
export WORKER_CPU=$(yq -e eval '.workers.cpus // 4' config.yaml)
export WORKER_DISK=$(yq -e eval '.workers.disk_size_gb // 250' config.yaml)
export WORKER_STORAGE_PROFILE=$(yq -e eval '.workers.storage_profile // "*"' config.yaml)
export WORKER_STORAGE_PROFILE=$(yq -e eval '.workers.storage_profile' config.yaml)
export WORKER_INIT_REPLICA=$(yq -e eval '.workers.initial_machinedeployment_replicas // 3' config.yaml)
export WORKER_MIN_REPLICA=$(yq -e eval '.workers.cluster_autoscaler_min_replicas // 3' config.yaml)
export WORKER_MAX_REPLICA=$(yq -e eval '.workers.cluster_autoscaler_max_replicas // 5' config.yaml)
Expand Down

0 comments on commit 7dec7d6

Please sign in to comment.