mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
docs(lambda): qualify which kubeconfig auth methods the Kubernetes executor supports (#2978)
#2919 replaced the Fabric8 Kubernetes client with a plain REST client that only understands static-token and client-certificate kubeconfig auth. The Kubernetes executor section still said Floci "uses your local kubeconfig" without qualification, which reads as full kubectl parity. exec and auth-provider credential plugins (aws eks get-token, gcloud) fail with a named error instead, so an EKS or GKE user following the doc as-is would be surprised. Follow-up noted on hectorvent's approval of #2919.
This commit is contained in:
1 parent
906717a510
commit
2b531dad3a
1 file changed
+4
-1
@@ -313,7 +313,10 @@ environment as a Kubernetes pod instead of a Docker container. This is designed
|
||||
for CI/CD clusters where privileged containers and `docker.sock` access are not
|
||||
allowed. Floci talks to the cluster through the standard Kubernetes API: when
|
||||
running inside the cluster it uses its ServiceAccount, and when running outside
|
||||
it uses your local kubeconfig.
|
||||
it uses your local kubeconfig. Only an inline static bearer `token` or a
|
||||
client-certificate/client-key credential with a PKCS#8 private key is
|
||||
supported; `tokenFile`, exec, and auth-provider credential plugins
|
||||
(`aws eks get-token`, gcloud, etc.) are not, and fail with a named error.
|
||||
|
||||
How an invocation works:
|
||||
|
||||
|
||||
Reference in new issue
Block a user