Repository navigation
feat(coder/openshift): add OpenShift workspace template - #1165
Open
Edd88-pixel wants to merge 1 commit into
Open
Edd88-pixel wants to merge 1 commit into
Edd88-pixel wants to merge 1 commit into
Conversation
Edd88-pixel
marked this pull request as ready for review
October 7, 2026 14:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Why
Creating an OpenShift workspace currently requires manually adapting the Kubernetes template and selecting a compatible image. This adds a dedicated template that works with the default
restricted-v2SCC.Changes
registry/coder/templates/openshift, based on the existing Kubernetes template./home/userin a PVC across workspace stops and restarts.Type of Change
Template Information
Path:
registry/coder/templates/openshiftTested on a real OpenShift 4.21.30 cluster with Coder 2.36.7, AMD64 nodes, and the
gp3StorageClass.The end-to-end checks confirmed agent connectivity under
restricted-v2, terminal and code-server access, file persistence across stop/start, and cleanup of the workspace Deployment, pod, and PVC on deletion. The tested OpenShift version is documented in the README.Related Issues
Closes #1162