BUILD-433: Unprivileged Builds#44000
Conversation
Document how to enable unprivileged OpenShift Builds in a BuildConfig. This is a Developer Preview feature that is not intended to be used in production environments.
✅ Deploy Preview for osdocs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
|
||
| * To run builds as an unprivileged user, pass the `BUILD_PRIVILEGED` environment variable as part of the `sourceStrategy` | ||
| ifndef::openshift-online[] | ||
| or `dockerStrategy` |
There was a problem hiding this comment.
Yes, I should add that too.
| ifndef::openshift-online[] | ||
| or `dockerStrategy` | ||
| endif::[] | ||
| in a `BuildConfig`, with the value `"false"`: |
There was a problem hiding this comment.
or Build, unless that's assumed?
There was a problem hiding this comment.
Build is typically assumed. OpenShift CI may be one of the few users that doesn't use BuildConfig objects.
|
/close Per discussion with @rolfedh - our policy is to typically not add Dev Preview features into official docs. Instead we are going to publish a KCS article with this information, and tie it specifically to OCP 4.11 |
|
@adambkaplan: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Document how to enable unprivileged OpenShift Builds in a BuildConfig.
This is a Developer Preview feature that is not intended to be used in
production environments.