How to use experimental port sharing
I am currently running latest coder-preview image and have this set as environment variable for Coder instance:
The issue is that I do not see such options as in an image
14 Replies
<#1235514942384246834>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
It's
CODER_EXPERIMENTS: "shared-ports"
Experiment names should be explicitly defined
Feature stages - Coder v2 Docs
Policies for Alpha and Experimental features.
That fixed it, but now I am not really sure why Public is not allowed when it's enabled in the settings
Do you have an enterprise license?
It can only be controlled on an enterprise
Oh, I assumed you required enterprise license when you need to control the maximum allowed and not the option to set the workspace level to public
Hey @kirby could help clear the confusion here? Thank you 🙂
I am assuming you didn't mean to @me and instead the coder team member Steven!
Yes sorry :/
Hey let me quickly check with engineering and i’ll get back to you here.
You should be able to use all sharing levels on an OSS deployment. This may be a bug
This was a bug we resolved on March 11th:
https://github.com/coder/coder/issues/12480
GitHub
Can't select
public
sharing level for shared port · Issue #12480 ...Maximum sharing level on the template is set to "Public" but it can't selected in the UI for a given workspace. The public option is not disabled in the dropdown, but isn't clicka...
Thanks. This was fixed in https://github.com/coder/coder/pull/12484 which should be available in versions >=2.9.0
Whats your Coder version?
The version is this one