Skip to content

Conversation

@gmodzelewski
Copy link
Contributor

Description:

Adds documentation for usage on OpenShift 4.13 which fixes security constraint errors.
Without the unset of the runAsUser Variable the pods cannot start due to security restrictions.

Related Issue(s)

Changes Made

  • Wrote a block in the README.md

How to Test

  1. try to install the latest version without the runAsUser unset on OpenShift >=4.13
    helm install reloader stakater/reloader --set reloader.isOpenshift=true
  2. see securityConstraint errors as described in the related issue.
  3. remove reloader
    helm uninstall reloader
  4. install the latest version with the unset, for example via
    helm install reloader stakater/reloader --set reloader.isOpenshift=true --set reloader.deployment.securityContext.runAsUser=null
  5. see, that the pods are starting and the logs are clean

@github-actions
Copy link

@gmodzelewski Yikes! You better fix it before anyone else finds out! Build has Failed!

@bnallapeta
Copy link

@gmodzelewski Hopefully that was due to a network error (it failed to push the image to registry). I have re-run the tests🤞

@github-actions
Copy link

@gmodzelewski Image is available for testing. docker pull ghcr.io/:SNAPSHOT-PR-499-ef380c48

@gmodzelewski
Copy link
Contributor Author

@bnallapeta I cannot merge due to missing write privileges. If you think this can be merged, feel free to do it.

@bnallapeta bnallapeta merged commit 0bc229f into stakater:master Jul 19, 2023
pratikbin pushed a commit to NodeOps-app/Reloader that referenced this pull request Nov 13, 2025
stakater#491 Readme: Add OpenShift 4.13 runAsUser unset part
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