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

Added a work-around for deploying OpenShift #377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ofirc-wiz
Copy link
Collaborator

The hardcoded uid 1000 is problematic (the toil) in OpenShift deployments where arbitrary uid's are generated for projects.

From the documentation [1]:
"When a Pod is deployed into the namespace, by default, OpenShift will use
the first UID and first GID from this range to run the Pod."

To enable the work-around, do the following:

wiz-kubernetes-connector:
useOpenshiftSecurityContexts: true

useOpenshiftSecurityContexts: true

[1] https://www.redhat.com/en/blog/a-guide-to-openshift-and-uids

The hardcoded uid 1000 is problematic (the toil) in OpenShift deployments
where arbitrary uid's are generated for projects.

From the documentation [1]:
"When a Pod is deployed into the namespace, by default, OpenShift will use
 the first UID and first GID from this range to run the Pod."

To enable the work-around, do the following:

wiz-kubernetes-connector:
  useOpenshiftSecurityContexts: true

useOpenshiftSecurityContexts: true

[1] https://www.redhat.com/en/blog/a-guide-to-openshift-and-uids
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