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

Set security context run as user and group from pod annotations #17

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

marc-barry
Copy link
Member

This is a similar situation as #12 was done to address. Specifically, there are deployments that set the pod security context (https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) which overrides the UID and GID of the running container. When this is done the iptables accept rule created by https://github.com/qpoint-io/kubernetes-qtap-init/ doesn't align and then prevents the sidecar proxy from using the network. This is due to the fact that the the sidecar ends up being configured to route to itself and this breaks registration and pretty much any network connectivity since the sidecar container cannot become healthy.

@marc-barry marc-barry merged commit 7fb5487 into main Dec 4, 2023
1 check passed
@marc-barry marc-barry deleted the marc-barry/injection-security-context branch December 4, 2023 15:57
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.

2 participants