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(core):patch apparmor annotations for cronjobs and updating rbac rules #1768

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

Prateeknandle
Copy link
Collaborator

@Prateeknandle Prateeknandle commented May 25, 2024

Purpose of PR?:
patching apparmor annotations for cronjobs. Also, updating RBAC rules for the same.
Connected to #1762 & #1748

Fixes #

Does this PR introduce a breaking change?
no

If the changes in this PR are manually verified, list down the scenarios covered::
yes

Additional information for reviewer? :
The first pod will not be updated with apparmor annoataions, but the subsequent pods will be updated with apparmor annotations.

If we need the same behaviour for cronjob as of job then we need to follow the same approach as we did for job.

Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@Prateeknandle Prateeknandle force-pushed the job-rbac-1 branch 2 times, most recently from eaa5f0e to a82757c Compare May 27, 2024 19:05
@Prateeknandle Prateeknandle changed the title fix(core):patch apparmor annotations for job & cronjobs and updating rbac rules fix(core):patch apparmor annotations for cronjobs and updating rbac rules May 27, 2024
@Prateeknandle Prateeknandle force-pushed the job-rbac-1 branch 2 times, most recently from c55c424 to 1bca761 Compare June 3, 2024 09:37
Copy link
Collaborator

@rksharma95 rksharma95 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

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 322dd5a into kubearmor:main Jun 12, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants