-
Notifications
You must be signed in to change notification settings - Fork 885
example: use ServiceAccount for k8s cluster authentication #1096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## kubesample #1096 +/- ##
==============================================
- Coverage 66.47% 57.29% -9.19%
==============================================
Files 255 261 +6
Lines 15671 15674 +3
Branches 152 152
==============================================
- Hits 10417 8980 -1437
- Misses 4187 5711 +1524
+ Partials 1067 983 -84
Continue to review full report at Codecov.
|
type = string | ||
sensitive = true | ||
description = <<-EOF | ||
Use docs at https://github.com/coder/coder/tree/main/examples/kubernetes-multi-service#serviceaccount to create a ServiceAccount for Coder and grab values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to link to the README because Terraform will force indent any text here and <<-EOF wasn't working with the double-spaced YAML to create a ServiceAccount on a cluster
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we should promote this route right now, but until we have a better way I think it works just fine!
* example: Add Kubernetes multi-service * fix: change to CODER_AGENT_TOKEN * example: use ServiceAccount for cluster authentication (#1096) Co-authored-by: Ben <ben@coder.com>
* example: Add Kubernetes multi-service * fix: change to CODER_AGENT_TOKEN * example: use ServiceAccount for cluster authentication (#1096) Co-authored-by: Ben <ben@coder.com>
This optionally allows users to authenticate to a Kubernetes cluster via a ServiceAccount, similar to workspace providers in Coder v1.
This could potentially be another example since it makes the example significantly longer.