Skip to content

Conversation

@ralgozino
Copy link
Member

Summary 💡

Use system architecture for calculating kustomize's download URL.

Align tests and bump version to the one currently in use.

fixes #626

Description 📝

Calculate kustomize's download URL using the system architecture instead of hardcoding it to AMD64.

We had kustomize harcoded to AMD64 because when we were using 3.5.3 the ARM64 native binary was not available, but we have switched to kustomize 5.6.0 in latest releases of the Distribution.

Architecture is still hardcoded when kustomize version is 3.5.3, so we don't break older versions of the distribution that still have that version as dependency.

Breaking Changes 💔

None

Tests performed 🧪

  • Unit tests passing.
  • Tested on an Ubuntu 24.04 ARM VM, kustomize is downloaded successfully and the binary is working.

Future work 🔧

None

Use system architecture for calculating kustomize's download URL.

Align tests and bump version to the one currently in use.

Left harcoded architecture for older versions compatibility.

fixes #626
@ralgozino ralgozino self-assigned this Aug 26, 2025
@ralgozino ralgozino merged commit 8b7f066 into main Aug 26, 2025
1 check passed
@ralgozino ralgozino deleted the fix/kustomize-arch branch August 26, 2025 15:42
@kriive kriive mentioned this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[arm] wrong arch for kustomize dependency binary

3 participants