Skip to content

Leases cleanup add security context#817

Open
ybelMekk wants to merge 2 commits intosigstore:mainfrom
ybelMekk:leases_cleanup_add_secuirty_context
Open

Leases cleanup add security context#817
ybelMekk wants to merge 2 commits intosigstore:mainfrom
ybelMekk:leases_cleanup_add_secuirty_context

Conversation

@ybelMekk
Copy link
Copy Markdown

@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