KozmikNano
05/01/2023, 6:34 PMpgryzan
05/01/2023, 7:56 PMhttps://cdn.discordapp.com/attachments/1102685112786751570/1102685113042616400/Screenshot_2023-05-01_at_3.46.30_PM.png▾
MrPeacock
05/02/2023, 2:23 PMGoose
05/02/2023, 3:18 PMGoose
05/04/2023, 5:12 PMcumpsd
05/05/2023, 10:41 AMhttp://example.org/coder/
However, when navigating to this page, all JS and CSS is trying to load from the root path, see screenshot.
I have properly configured the CODER_ACCESS_URL
to include the subpath.
Is there a way to configure coder to add a baseurl?
https://cdn.discordapp.com/attachments/1103994904872505456/1103994905149317191/image.png▾
Lucas_DK
05/05/2023, 2:46 PMNormal FailedBinding 5s (x19 over 4m30s) persistentvolume-controller no persistent volumes available for this claim and no storage class is set
bawb
05/05/2023, 4:10 PMhttps://cdn.discordapp.com/attachments/1104077719572070401/1104077719727251456/20230505_180106.jpg▾
Elio
05/05/2023, 7:43 PMcurl http://[host]:2112
and get a response. I tried various things for the host with no success
https://cdn.discordapp.com/attachments/1104131159656513657/1104131160541503639/Screenshot_2023-05-05_at_12.41.09_PM.png▾
https://cdn.discordapp.com/attachments/1104131159656513657/1104131160776388688/Screenshot_2023-05-05_at_12.42.45_PM.png▾
Marco Aleixo
05/09/2023, 4:35 PMmukumuku
05/10/2023, 3:28 PMhippiehacker
05/11/2023, 12:32 AMAkantor
05/12/2023, 2:29 PMVaneixusPrime
05/12/2023, 2:41 PM100% awli
05/12/2023, 7:23 PMMerith
05/14/2023, 9:15 PMSarthak
05/14/2023, 9:43 PMAkantor
05/15/2023, 12:06 PMJeehoon Kang
05/15/2023, 2:55 PMmcdot01
05/15/2023, 4:42 PMbash
✔ Cleaning Up [-10ms]
⧗ Detecting persistent resources
An argument named "service_account_name" is not expected here.
✔ Detecting persistent resources [10ms]
✘ Cleaning Up [16ms]
template import provision for start: recv import provision: plan terraform: terraform plan: exit status 1
Run 'coder templates push --help' for usage.
Code in my template:
resource "kubernetes_pod" "main" {
count = data.coder_workspace.me.start_count
metadata {
name = "coder-${lower(data.coder_workspace.me.owner)}-${lower(data.coder_workspace.me.name)}"
service_account_name = "coder"
namespace = var.namespace
labels = {
"app.kubernetes.io/name" = "coder-workspace"
"app.kubernetes.io/instance" = "coder-workspace-${lower(data.coder_workspace.me.owner)}-${lower(data.coder_workspace.me.name)}"
"app.kubernetes.io/part-of" = "coder"
// Coder specific labels.
"com.coder.resource" = "true"
"com.coder.workspace.id" = data.coder_workspace.me.id
"com.coder.workspace.name" = data.coder_workspace.me.name
"com.coder.user.id" = data.coder_workspace.me.owner_id
"com.coder.user.username" = data.coder_workspace.me.owner
}
annotations = {
"com.coder.user.email" = data.coder_workspace.me.owner_email
}
}
I appreciate any assistance with this issue! 🙂Elio
05/15/2023, 7:08 PMLucas_DK
05/15/2023, 8:48 PMJohan~
05/16/2023, 3:29 PMtf
resource "docker_image" "main" {
name = "coder-${data.coder_workspace.<template-name>}-${data.coder_workspace.<template_version>}"
build {
context = "./build"
}
triggers = {
dir_sha1 = sha1(join("", [for f in fileset(path.module, "build/*") : filesha1(f)]))
}
}
Sarthak
05/17/2023, 5:21 AMFuglen
05/17/2023, 5:34 PMError: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
on main.tf line 21, in provider "docker":
21: provider "docker" {
I tried creating a "coder" user and adding it to the docker group without success. I restarted the Coder container, do I need to restart Docker itself too?Fuglen
05/17/2023, 6:12 PMhttps://cdn.discordapp.com/attachments/1108457001509462096/1108457001916317736/image.png▾
mcdot01
05/17/2023, 6:38 PMcoder login
we are unable to do a coder ssh workspace
and are getting differing behavior depending on where we attempt this.
Before I get into the demo of what is happening, a little about our setup, we're self hosting Coder (0.23.2) in our K8s cluster. To secure that cluster we utilize a zero-trust Cloudflare tunnel for the cluster's services. So a user that is trying to access the Coder UI for example will go to https://coder.ourdomain.com which will lead them to our Cloudflare page, they prove their identity either with SSO or a OTP, then Istio routes them to the service they desire. Telling Istio what to do is what the Host
section of the below command is for. We believe we are doing coder login
correctly given our infrastructureElio
05/18/2023, 6:52 PMhttps://cdn.discordapp.com/attachments/1108829596222242836/1108829596960424017/Screenshot_2023-05-18_at_11.49.24_AM.png▾
dingzu
05/25/2023, 7:44 AMSharp
05/27/2023, 9:54 PME0527 21:49:26.761013 2013306 reflector.go:140] pkg/mod/k8s.io/client-go@v0.26.0/tools/cache/reflector.go:169: Failed to watch *v1.Pod: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:coder:default" cannot list resource "pods" in API group "" at the cluster scope
This is the output of my operator using Operator SDK, when I have a fresh kind cluster loaded. I cannot find any docs on people going through a similar problem, which makes me think its coder doing something.
I am running coder on a k3s instance, this is running inside a pod which is running DIND.
The image I am running is just codercom/enterprise-base:ubuntu