From c541ae7eaa8d014d341b0c391b569dca2513af5a Mon Sep 17 00:00:00 2001 From: Riajul Islam Date: Mon, 9 Feb 2026 09:26:52 +0600 Subject: [PATCH 1/3] feat(KasmVNC): allow share variable to be passed with default: `owner` This is needed in scenarios where we want to give flexibility of sharing the Desktop Environment to demonstrate Desktop Application Demos. --- registry/coder/modules/kasmvnc/main.tf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/registry/coder/modules/kasmvnc/main.tf b/registry/coder/modules/kasmvnc/main.tf index 4635f612f..66324b370 100644 --- a/registry/coder/modules/kasmvnc/main.tf +++ b/registry/coder/modules/kasmvnc/main.tf @@ -54,6 +54,15 @@ variable "subdomain" { description = "Is subdomain sharing enabled in your cluster?" } +variable "share" { + type = string + default = "owner" + validation { + condition = var.share == "owner" || var.share == "authenticated" || var.share == "public" + error_message = "Incorrect value. Please set either 'owner', 'authenticated', or 'public'." + } +} + resource "coder_script" "kasm_vnc" { agent_id = var.agent_id display_name = "KasmVNC" @@ -75,7 +84,7 @@ resource "coder_app" "kasm_vnc" { url = "http://localhost:${var.port}" icon = "/icon/kasmvnc.svg" subdomain = var.subdomain - share = "owner" + share = var.share order = var.order group = var.group From 1a9da01086ed570339e61a8fedb6ba671241b988 Mon Sep 17 00:00:00 2001 From: Riajul Islam Date: Tue, 10 Feb 2026 11:25:32 +0600 Subject: [PATCH 2/3] chore(KasmVNC): update minor version. --- registry/coder/modules/kasmvnc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder/modules/kasmvnc/README.md b/registry/coder/modules/kasmvnc/README.md index 7fcc7fb09..d53cf6c3a 100644 --- a/registry/coder/modules/kasmvnc/README.md +++ b/registry/coder/modules/kasmvnc/README.md @@ -14,7 +14,7 @@ Automatically install [KasmVNC](https://kasmweb.com/kasmvnc) in a workspace, and module "kasmvnc" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/kasmvnc/coder" - version = "1.2.7" + version = "1.3.0" agent_id = coder_agent.example.id desktop_environment = "xfce" subdomain = true From b9f8899e1683345b9ce0c65cdde927e269150355 Mon Sep 17 00:00:00 2001 From: Riajul Islam Date: Wed, 11 Feb 2026 11:35:02 +0600 Subject: [PATCH 3/3] chore(KasmVNC): update minor version. --- registry/coder/modules/kasmvnc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder/modules/kasmvnc/README.md b/registry/coder/modules/kasmvnc/README.md index d53cf6c3a..2f9fff7a2 100644 --- a/registry/coder/modules/kasmvnc/README.md +++ b/registry/coder/modules/kasmvnc/README.md @@ -14,7 +14,7 @@ Automatically install [KasmVNC](https://kasmweb.com/kasmvnc) in a workspace, and module "kasmvnc" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/kasmvnc/coder" - version = "1.3.0" + version = "1.3.0" agent_id = coder_agent.example.id desktop_environment = "xfce" subdomain = true