-
Notifications
You must be signed in to change notification settings - Fork 6
Add wstunnel debug level and external template support #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -107,6 +107,14 @@ virtualNode: | |||||||||
| templateType: "" | ||||||||||
| # Custom wstunnel template content (optional, overrides templateType if set) | ||||||||||
| customTemplate: "" | ||||||||||
| # External template reference (overrides customTemplate and templateType if set) | ||||||||||
| # Can be a local file path (e.g., "wstunnel-template_custom.yaml") or ConfigMap name | ||||||||||
|
||||||||||
| # Can be a local file path (e.g., "wstunnel-template_custom.yaml") or ConfigMap name | |
| # When useExternalConfigMap is false, this must be a path to a file packaged inside this Helm chart | |
| # (for example, "wstunnel-template_custom.yaml"), not an arbitrary local filesystem path. | |
| # For truly local content at install/upgrade time, use customTemplate or --set-file instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
useExternalConfigMapis true, the ConfigMap name is taken directly fromvirtualNode.network.externalTemplate. IfexternalTemplateis empty (the default), this will render an invalid volume reference and the Pod will fail to start. Consider enforcing thatexternalTemplateis non-empty whenuseExternalConfigMapis true (e.g., using Helm'srequiredfunction or by adding a conditional that errors out).