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

Leases cleanup add security context #817

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ybelMekk
Copy link

@ybelMekk ybelMekk commented Aug 30, 2024

Description of the change

securityContxect to cleanup-leases job

run-as-non-root: 'validation error: Running as root is not allowed. Either the field..

This also relates to issue listed, leases dont get cleaned up the application fails to start if re-deployed.

Existing or Associated Issue(s)

#217 (comment)

Additional Information

Add podSecurity context and security context to values.yaml and corresponding cleanup-lease job.

Checklist

  • Chart version bumped in Chart.yaml according to semver. Where applicable, update and bump the versions in any associated umbrella chart
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

* In a cluster with https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/
does not clean up

Signed-off-by: Youssef Bel Mekki <38552193+ybelMekk@users.noreply.github.com>
* In a cluster with https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/
does not clean up

Signed-off-by: Youssef Bel Mekki <38552193+ybelMekk@users.noreply.github.com>
@ybelMekk ybelMekk force-pushed the leases_cleanup_add_secuirty_context branch from feccd4d to 2ae8f65 Compare August 30, 2024 12:57
@ybelMekk ybelMekk changed the title Leases cleanup add secuirty context Leases cleanup add security context Sep 4, 2024
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.

1 participant