Skip to content

Add wstunnel debug level and external template support#42

Draft
dciangot wants to merge 1 commit intomainfrom
claude/wstunnel-debug-template-flags-1HJ6A
Draft

Add wstunnel debug level and external template support#42
dciangot wants to merge 1 commit intomainfrom
claude/wstunnel-debug-template-flags-1HJ6A

Conversation

@dciangot
Copy link
Member

Introduces new configuration options for wstunnel:

  1. Debug Level Control:

    • Added wstunnelDebugLevel flag in values.yaml (default: "DEBUG")
    • Supports standard log levels: DEBUG, INFO, WARN, ERROR
    • Updated wstunnel-template_nginx.yaml and wstunnel-template_traefik.yaml to use variable
    • Config passed through InterLinkConfig.yaml to wstunnel templates
  2. External Template Reference:

    • Added externalTemplate flag to reference local files or ConfigMap names
    • Added useExternalConfigMap flag to use existing ConfigMap instead of creating one
    • Priority: externalTemplate > customTemplate > templateType > default

Usage examples:

  • Set debug level: virtualNode.network.wstunnelDebugLevel: "INFO"
  • Use local file: virtualNode.network.externalTemplate: "my-custom-template.yaml"
  • Use ConfigMap: virtualNode.network.externalTemplate: "my-configmap" and useExternalConfigMap: true

Summary


Related issue :

Introduces new configuration options for wstunnel:

1. Debug Level Control:
   - Added wstunnelDebugLevel flag in values.yaml (default: "DEBUG")
   - Supports standard log levels: DEBUG, INFO, WARN, ERROR
   - Updated wstunnel-template_nginx.yaml and wstunnel-template_traefik.yaml to use variable
   - Config passed through InterLinkConfig.yaml to wstunnel templates

2. External Template Reference:
   - Added externalTemplate flag to reference local files or ConfigMap names
   - Added useExternalConfigMap flag to use existing ConfigMap instead of creating one
   - Priority: externalTemplate > customTemplate > templateType > default

Usage examples:
- Set debug level: virtualNode.network.wstunnelDebugLevel: "INFO"
- Use local file: virtualNode.network.externalTemplate: "my-custom-template.yaml"
- Use ConfigMap: virtualNode.network.externalTemplate: "my-configmap" and useExternalConfigMap: true
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