Scott
Scott
CCoder.com
Created by Multigestern on 8/27/2024 in #help
Keycloak OpenID Connect does not work
Oh, and set
- name: CODER_VERBOSE
value: 'true'
- name: CODER_VERBOSE
value: 'true'
to see if the logs are more helpful. 🙂
21 replies
CCoder.com
Created by Multigestern on 8/27/2024 in #help
Keycloak OpenID Connect does not work
I agree. It is poorly documented. I believe it is a constraint (my best guess). You can add multiple domains to the value, and this constrains what email domains the users can have that are added to Coder via the first login process. If you have users with a bunch of different domains, you'd have to add them all here. There should also be a wild-card option for the use case of registering any and all domains, if so needed or wished for. As my project evolves, I'd need this too. But, as it is only my guess, it could also be completely wrong too. 😊 If you could, with your own user, add your email domain (the domain of the email you used to register in Keycloak) and see what happens. 🙂
21 replies
CCoder.com
Created by Multigestern on 8/27/2024 in #help
Keycloak OpenID Connect does not work
Not sure it will help, but you are missing CODER_OIDC_EMAIL_DOMAIN.
21 replies
CCoder.com
Created by Ben.Ng on 7/8/2024 in #help
Public local host
@bụng bự - Another service is ngrok. https://ngrok.com/use-cases/developer-preview
21 replies
CCoder.com
Created by TitiMoby on 6/17/2024 in #help
create my first custom image
Yeah, he means the workspace container. If I remember correctly, in order for the pods to work outside the coder workspace, I had to also give the coder service account cluster wide admin permissions. Not sure that is your problem, but maybe? Or, try using the coder workspace as the workspace for the pod's creation to see if it runs correctly in that workspace. Just guesses on my part though.
23 replies
CCoder.com
Created by TitiMoby on 6/17/2024 in #help
create my first custom image
What does your template look like @Thierry Chantier?
23 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
@Jackson - Sorry again for the high-jacking of your thread. As it turns out, it was my own confusion about how the Agent is installed. The script you pointed out in your OP was for code-server. So also as @Phorcys pointed out, you could theoretically remove that code in your template and install it in your container image. You'd just have to make sure to "run it" in your startup_script (I believe).
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
Currently, yes. Because I haven't used modules. Or rather, I haven't looked into how scripts can be merged in modules.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
And if that module is changed by the Coder team, all I have to do is up the version to get those changes.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
So, a template only references the "core" or "starter" or "base" module created by the Coder team.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
But, to bring the idea full circle to the subject and my thinking why the agent installation is in the template and not in the users' container, when creating a new template, Coder offers "starter templates". I feel these shouldn't be "starter templates" but rather starter "modules".
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
I haven't been dealing with Coder for some time now. It's just be going and going and going with little to no issues. So my memory is a bit lacking. LOL! 😄 Sorry to highjack your thread @Jackson. Your inquiry still stands.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
Yes. The URL to the install script. Just as an example of what might change.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
There are modules, I'm just not sure that covers what I'm thinking about....
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
In fact, just saying that, there must be a way to at least create extensible templates with Terraform. Let me check that.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
Currently, we have to take an example template (or create one from scratch) and modify it for our needs. If any requirements to work with Coder change, like the URL for the agent install script, I have to manually update my templates (all of them). If there were a "base template" from which I had only extended all my other templates from, the changes to the base are automatically added as soon as I use the newer base template and basically all my templates are updated at the same time.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
Exactly my point. 🙂 If there were to be a base template, I'd only have to worry about updating the base, not the URL. Less chance for mistakes. Easier to handle, etc.
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
So, if the URL changed for instance to a new one, I wouldn't have to change it in my template?
31 replies
CCoder.com
Created by Immuc on 6/5/2024 in #help
Question about Docker-Template
I'd be interested in knowing this too. My best guess is, the realm of control. In the template, the Coder team have at least partial control over what is in the template (at least the examples) and if the install code changes, for instance they decide to make the agent a complete standalone app and not part of the Coder Server/ CLI app, then the install would change and they can update the templates. What I wish would be possible is template extensions, meaning, I can pull in a "base" template and only add the things in the extension I need to make it work. If the Coder team change the base template, like changing how the agent is installed and started, I don't need to worry about that, I only need to make sure I have an up-to-date base template. Not sure that is feasible, but it would be cool, if it were. 🙂
31 replies