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

Kubectl plugin for darwin arm64 #37

Merged

Conversation

irbekrm
Copy link
Contributor

@irbekrm irbekrm commented Jun 9, 2021

This PR updates the release tool to also build the cert-manager kubectl plugin for darwin/arm64.

Since, we already have darwin/arm64 in the list of supported os/arch combinations for the kubectl plugin in cert-manager codebase here this was just a matter of ensuring that we build the release artifacts with --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 flag from cmrel.

I have also updated the README and cmrel stage --help output a little.

I've created a 'development' build with the updated cmrel tool here https://console.cloud.google.com/storage/browser/cert-manager-release/stage/gcb/devel/5875c828c68b9e22ec157508743e360017916190?pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&authuser=1&project=cert-manager-release&prefix=&forceOnObjectsSortingFiltering=false - if anyone M1 Mac felt like trying this out 😅

Fixes #25 , cert-manager/cert-manager#4052

@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 9, 2021
irbekrm added 3 commits June 9, 2021 08:38
Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
@irbekrm irbekrm force-pushed the kubectl_plugin_for_darwin_arm branch from 9679c81 to 791347b Compare June 9, 2021 07:39
@irbekrm
Copy link
Contributor Author

irbekrm commented Jun 9, 2021

Checking the built binary:

$ file kubectl-cert_manager 
kubectl-cert_manager: Mach-O 64-bit arm64 executable, flags:<|DYLDLINK|PIE>

Copy link
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

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

one tiny suggestion from me on this 👍


### Development

#### Creating development builds
Copy link
Member

Choose a reason for hiding this comment

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

praise: great addition, love it 👌

@jetstack-bot jetstack-bot added dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. and removed dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. labels Jun 9, 2021
Co-authored-by: Ashley Davis <SgtCoDFish@users.noreply.github.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
@irbekrm irbekrm force-pushed the kubectl_plugin_for_darwin_arm branch from 72c9384 to 45a1439 Compare June 9, 2021 09:28
@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. and removed dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. labels Jun 9, 2021
@SgtCoDFish
Copy link
Member

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 9, 2021
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: irbekrm, SgtCoDFish

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build and release kubectl plugin for Apple Silicon
3 participants