Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update Containerfile.controlplane to include the correct binary …
…and run as non-root (#313) ## Description: This PR addresses the issue related to the missing `manager` binary in the Dockerfile and an error encountered due to user permissions in the `deployment.yaml`. 1. **Dockerfile Update:** - The correct binary for `manager` has been added to the Dockerfile as expected in [line 38 of the deployment config](https://github.com/kubernetes-sigs/blixt/blob/427839a319483f958001ba47fa6b073a08ee7755/config/manager/manager.yaml). 2. **Deployment Update:** - Added `runAsUser: 1000` to the `deployment.yaml` to resolve the permission error shown below: ![Permission Error](https://github.com/user-attachments/assets/a7ad7d15-0175-442a-bb0e-d94c4d0563fb) ## Testing To test this change: 1. Clone the repository. 2. Run `make build.image.controlplane`. 3. Create a Kubernetes cluster using either Kind or K3d. 4. Run `kubectl apply -k config/default` to deploy the changes. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information