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

Make development on macs easier #3015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make development on macs easier #3015

wants to merge 1 commit into from

Conversation

viveksinghggits
Copy link
Contributor

@viveksinghggits viveksinghggits commented Aug 4, 2024

Change Overview

After this change goreleaser will build the kanctl binary that can be used on arm64 machines and it will also build the controller container image for correct platform so that it can be deployed on k8s clusters. By default, I think it was building the container image for amd64 platform.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test
  • 🏗️ Build

Issues

  • fixes #issue-number

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

After this change goreleaser will build the `kanctl` binary that can be used
on arm64 machines and it will also build the controller container image for
correct platform so that it can be deployed on k8s clusters.
By default, I think it was building the container image for arm64 platform.
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be made configurable for downstream builders?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can be done. I have still not figured this out. I will spend some more time and make this reviewable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants