Skip to content

Conversation

@Orzelius
Copy link
Member

@Orzelius Orzelius commented Dec 5, 2025

this will hopefully reduce confusion on what the flag value should look like

func addOmniJoinTokenFlag(cmd *cobra.Command, bindAPIEndpoint *string, cfgPatchAllFlagName, cfgPatchWorkersFlagName, cfgPatchCPsFlagName string) {
cmd.Flags().StringVar(bindAPIEndpoint, omniAPIEndpointFlagName, *bindAPIEndpoint, "the Omni API endpoint (must include a scheme, a port and a join token)")
cmd.Flags().StringVar(bindAPIEndpoint, omniAPIEndpointFlagName, *bindAPIEndpoint,
"the Omni API endpoint (must include a scheme, a port and a join token, e.g. 'grpc://omni.com:8090?jointoken=foobar')")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's do an example which matches more production Omni

Suggested change
"the Omni API endpoint (must include a scheme, a port and a join token, e.g. 'grpc://omni.com:8090?jointoken=foobar')")
"the Omni API endpoint (must include a scheme, a port and a join token, e.g. 'https://siderolink.omni.example?jointoken=foobar')")

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is having no port number more usual?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, it should be proper https:// usually.

@Orzelius Orzelius force-pushed the create-qemu-preset-docs branch from dbd0ab2 to f810f62 Compare December 5, 2025 12:38
@github-project-automation github-project-automation bot moved this from In Review to Approved in Planning Dec 5, 2025
@Orzelius Orzelius force-pushed the create-qemu-preset-docs branch from f810f62 to c6519ea Compare December 5, 2025 13:40
this will hopefully reduce confusion on what the flag value should look like

Signed-off-by: Orzelius <[email protected]>
@Orzelius Orzelius force-pushed the create-qemu-preset-docs branch from c6519ea to fc8ae32 Compare December 7, 2025 10:41
@Orzelius
Copy link
Member Author

Orzelius commented Dec 7, 2025

/m

@talos-bot talos-bot merged commit fc8ae32 into siderolabs:main Dec 7, 2025
58 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in Planning Dec 7, 2025
@Orzelius Orzelius deleted the create-qemu-preset-docs branch December 7, 2025 11:12
@frezbo frezbo moved this from Proposed to Accepted in Backports to v1.12 Dec 8, 2025
@frezbo frezbo moved this from Accepted to In Progress in Backports to v1.12 Dec 8, 2025
@frezbo frezbo moved this from In Progress to Backported in Backports to v1.12 Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backported
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants