Skip to content

remove post-delete hook #1175

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

Merged
merged 3 commits into from
Feb 22, 2024
Merged

remove post-delete hook #1175

merged 3 commits into from
Feb 22, 2024

Conversation

jinja2
Copy link
Collaborator

@jinja2 jinja2 commented Feb 22, 2024

Description:
Removes post-delete hook which does not work as intended. The original intention of adding this hook seems to have been to remove acls set by an initContainer on log directories to allow custom user/group ids access. While this would be a good-to-have, the current approach of doing this as a helm uninstall hook is not appropriate. The current hook config runs a single pod which tries to remove acls from the log directories if the user/group as set in securityContext. This does not work as intended since we are only creating a single pod which will remove the acls from a single node in the cluster while the initContainer which modifies the acls was run as a daemonset targeting all nodes.

@jinja2 jinja2 marked this pull request as ready for review February 22, 2024 04:48
@jinja2 jinja2 requested review from a team as code owners February 22, 2024 04:48
@jinja2 jinja2 merged commit 8ea0076 into main Feb 22, 2024
@jinja2 jinja2 deleted the rm-helm-hook branch February 22, 2024 17:48
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants