Skip to content
Snippets Groups Projects
Commit 702add43 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

fixup! add distribution.create_cluster

parent ba288b41
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
script_dir=$(dirname "${BASH_SOURCE[0]}")
echo "SCRIPT_DIR: ${script_dir}"
source "${script_dir}/helpers/helm_helpers.sh"
k3d cluster create distribution \
......@@ -30,7 +29,7 @@ install_helm_chart calico \
tigera-operator \
"${CALICO_VERSION:-v3.29.2}" \
tigera-operator \
300 \
5m \
"${calico_dir}/values.yaml" \
"--set installation.calicoNetwork.ipPools[0].cidr=${CLUSTER_CIDR}"
# helm repo add ${calico_repo_name} https://docs.tigera.io/calico/charts
......
......@@ -56,6 +56,6 @@ install_gitlab_agent() {
git clone "${git_repo_url}" "${git_repo_dir}"
add_helm_repo ${repo_name} https://charts.gitlab.io
install_helm_chart distribution-agent ${repo_name} ${chart_name} ${chart_version} gitlab-agents 300 "${values_files}" "${upgrade_args}"
install_helm_chart distribution-agent ${repo_name} ${chart_name} ${chart_version} gitlab-agents 5m "${values_files}" "${upgrade_args}"
remove_helm_repo ${repo_name}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment