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

Added missing job resource on clusterrole #95

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

ricjsan
Copy link
Contributor

@ricjsan ricjsan commented Sep 13, 2024

Motivation

This update fixes 403 that error that occurs if you deploy KD with the helm chart and include job resources.
This error occurred because the service account did not had permission to manage job resources.

Changes

On ClusterRole at the helm template rbac.yaml added the jobs resource next to cronjobs.

Tests done

None

@samuel-esp
Copy link
Collaborator

Hi @ricjsan thanks a lot for your contribution to the project. If I'm not mistaking I I addressed this issue mid-August in the release 24.8.2. I did a quick check and seems to present in the code. Are you facing problems with that release version?

@JTaeuber
Copy link
Member

Hey @samuel-esp, I took a quick look again and you are both right.
You did fix the issue for jobs on the roles, however for the clusterrole it actually still only lists cronjobs and not jobs.

@samuel-esp
Copy link
Collaborator

Perfect, @JTaeuber, thank you very much!

@JTaeuber JTaeuber merged commit 2a713aa into caas-team:main Sep 25, 2024
1 check passed
@JTaeuber JTaeuber added the bug Something isn't working label Sep 25, 2024
@ricjsan ricjsan deleted the patch-1 branch September 26, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants