rules_gitops icon indicating copy to clipboard operation
rules_gitops copied to clipboard

Add support for running Kustomize on Linux ARM64

Open ysinjab opened this issue 9 months ago • 0 comments

Description

Currently the Kustomize binaries supported only are amd64 on both operating systems Linux and MacOS.

I executed the command uname -a by the repository_ctx.execute to get the current architecture. Based on it either kustomize_v4.5.3_linux_arm64.tar.gz or kustomize_v4.5.3_linux_amd64.tar.gz will be downloaded.

Related Issue

https://github.com/adobe/rules_gitops/issues/177

Motivation and Context

Generating manifests on Linux operating systems that run on architecture ARM64

How Has This Been Tested?

It is mentioned here https://github.com/adobe/rules_gitops/issues/177

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [X] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [X] I have signed the Adobe Open Source CLA.
  • [X] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [X] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

ysinjab avatar May 10 '24 11:05 ysinjab