timoooooo
05/25/2023, 3:00 PMAtif
05/25/2023, 3:01 PMBigCheeZ
05/25/2023, 3:20 PMsalquier
05/25/2023, 3:25 PMdata.coder_workspace.me.owner
contains the username in CoderBigCheeZ
05/25/2023, 3:27 PMsalquier
05/25/2023, 3:42 PMcoder_parameter
) as is not seem to be exposed by `coder_workspace`(source => https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/workspace)salquier
05/25/2023, 3:44 PMBigCheeZ
05/25/2023, 3:46 PMCYBER
05/25/2023, 4:27 PMtimoooooo
05/25/2023, 5:56 PMAtif
05/25/2023, 7:14 PMhas9
05/26/2023, 5:28 PMNano
05/27/2023, 10:46 PMsudo usermod -aG docker coder
to ensure coder has permisionsNano
05/27/2023, 10:46 PMhttps://cdn.discordapp.com/attachments/971231372373033030/1112149950780952586/image.png▾
Nano
05/27/2023, 10:47 PMOGGY ✓
05/28/2023, 7:26 AMOGGY ✓
05/28/2023, 7:26 AMOGGY ✓
05/28/2023, 7:26 AMOGGY ✓
05/28/2023, 7:26 AMvane
05/28/2023, 3:07 PMvane
05/28/2023, 3:07 PMNano
05/28/2023, 3:25 PMPhorcys
05/28/2023, 4:40 PMPhorcys
05/28/2023, 4:40 PMPhorcys
05/28/2023, 4:40 PMPhorcys
05/28/2023, 4:40 PMNano
05/28/2023, 4:59 PMPhorcys
05/28/2023, 5:03 PMSharp
05/28/2023, 10:23 PMkubectl
on a base pod from within k8s, I get
bash
╰─➤ kubectl get pods
Error from server (Forbidden): pods is forbidden: User "system:serviceaccount:coder:default" cannot list resource "pods" in API group "" in the namespace "coder"
Then when I run kind create cluster
and let it finish, it then works.
But, all golang code I run (my own projects, operators with kubebuilder etc), all complain about the same error.
My bet is that they are failing to get the right address. Does anyone know how I go about fixing this?Sharp
05/28/2023, 10:26 PMKUBECONFIG="/home/coder/.kube/config" make run