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

policy enforcement issue when kubearmor is restarted in systemd mode #605

Closed
nyrahul opened this issue Feb 8, 2022 · 1 comment · Fixed by #631
Closed

policy enforcement issue when kubearmor is restarted in systemd mode #605

nyrahul opened this issue Feb 8, 2022 · 1 comment · Fixed by #631
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@nyrahul
Copy link
Contributor

nyrahul commented Feb 8, 2022

Bug Report

When kubearmor is operating in systemd mode, and if someone applies a set of policies and then restarts the kubearmor then one has to reapply the set of policies manually.

General Information

  • Environment description (GKE, VM-Kubeadm, vagrant-dev-env, minikube, microk8s, ...)
    systemd (non-k8s) mode

  • Kernel version (run uname -a)
    Any supported kernel ver

  • Orchestration system version in use (e.g. kubectl version, ...)
    systemd

To Reproduce

  1. start kubearmor in systemd mode
  2. apply policy1
  3. restart kubearmor
  4. policy1 is no more enforced

Note that this works seamlessly in k8s mode i.e., even if the kubearmor pod is deleted and restarted the previously enforced policies remain enforced.

Expected behavior

Previously enforced policies should remain enforced on restart in systemd mode.

CC: @seswarrajan

@nyrahul nyrahul added bug Something isn't working good first issue Good for newcomers labels Feb 8, 2022
@slayer321
Copy link
Contributor

Hey @nyrahul , I did like to work on this issue.
Will need some pointer how can i start with this issue

@seswarrajan seswarrajan self-assigned this Mar 7, 2022
@seswarrajan seswarrajan linked a pull request Mar 7, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants