Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported version of kOps #1262

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions projects/kubernetes/kops/kops_artifacts_management_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ KOPS_UTILS_CP="kops-utils-cp"
KOPS_IMAGES=("$DNS_CONTROLLER" "$KOPS_CONTROLLER" "$KUBE_APISERVER_HEALTHCHECK" "$KOPS_UTILS_CP")

SUPPORTED_ARCHS=("arm64" "amd64")
SUPPORTED_PLATFORMS=("linux")
KOPS_SUPPORTED_PLATFORMS=("linux" "darwin")
NODEUP_SUPPORTED_PLATFORMS=("linux")

SHA_SUFFIX=".sha256"
TARBALL_SUFFIX=".tar.gz"
Expand All @@ -46,7 +47,7 @@ fetch_kops_binaries() {
do
for ARCH in "${SUPPORTED_ARCHS[@]}"
do
for PLATFORM in "${SUPPORTED_PLATFORMS[@]}"
for PLATFORM in "${KOPS_SUPPORTED_PLATFORMS[@]}"
do
local kops_artifacts_output_dir="$OUTPUT_DIR/$KOPS_VERSION_TAG/$PLATFORM/$ARCH"
local release_artifact_url="$KOPS_BINARIES_BASE_URL/$KOPS_VERSION_TAG/$PLATFORM/$ARCH/$BINARY"
Expand Down Expand Up @@ -76,7 +77,7 @@ fetch_kops_images() {
move_nodeup_binaries() {
for ARCH in "${SUPPORTED_ARCHS[@]}"
do
for PLATFORM in "${SUPPORTED_PLATFORMS[@]}"
for PLATFORM in "${NODEUP_SUPPORTED_PLATFORMS[@]}"
do
local binary_path="$PROJECT_DIRECTORY/kops/.build/dist/$PLATFORM/$ARCH/nodeup"
local binary_upload_path="$OUTPUT_DIR/$KOPS_VERSION_TAG/$PLATFORM/$ARCH/nodeup"
Expand All @@ -90,7 +91,7 @@ move_nodeup_binaries() {
move_kops_binaries() {
for ARCH in "${SUPPORTED_ARCHS[@]}"
do
for PLATFORM in "${SUPPORTED_PLATFORMS[@]}"
for PLATFORM in "${KOPS_SUPPORTED_PLATFORMS[@]}"
do
local binary_path="$PROJECT_DIRECTORY/kops/.build/dist/$PLATFORM/$ARCH/kops"
local binary_upload_path="$OUTPUT_DIR/$KOPS_VERSION_TAG/$PLATFORM/$ARCH/kops"
Expand Down