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

Fix(pkg): build multi-arch controllers #1103

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

rksharma95
Copy link
Collaborator

@rksharma95 rksharma95 commented Feb 10, 2023

Purpose of PR?:
KubeArmor custom controllers i.e. kubearmor-policy-manager, kubearmor-annotation-manager and kubearmor-host-policy-manager were built with hardcoded build flags GOOS linux GOARCH amd64 therefore they were failing to execute on arm platform. the PR handles that and also the kube-rbac-proxy deployed along with custom controllers will be removed with this PR.

Update: kube-rbac-proxy has been upgraded instead of removing it.

Fixes #1101 #1084

Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

@rksharma95 rksharma95 marked this pull request as ready for review February 10, 2023 06:30
Copy link
Member

@Shreyas220 Shreyas220 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@rksharma95
Copy link
Collaborator Author

imo we can retain kube-rbac-proxy and upgrade it to newer version. at this point we are not leveraging it but it'll will good to have it for use cases such as granting permissions to export matrix to Prometheus. WDYT @achrefbensaad

@achrefbensaad
Copy link
Member

@rksharma95 Lets keep it for now.

Copy link
Member

@DelusionalOptimist DelusionalOptimist left a comment

Choose a reason for hiding this comment

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

LGTM.

@DelusionalOptimist DelusionalOptimist merged commit 6f3a2c3 into kubearmor:main Feb 14, 2023
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.

kube-rbac-proxy crashing on arm64 platform
4 participants