feat(ske): support stateless WIF kubeconfig login - #1477
feat(ske): support stateless WIF kubeconfig login#1477Galin-Karabadzhakov wants to merge 4 commits into
Conversation
|
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
|
Hi team, could you please confirm whether this approach aligns with the intended direction for non-interactive SKE authentication? |
Description
Enable
stackit ske kubeconfig login --idpto operate as a stateless Kubernetes exec credential provider using STACKIT Workload Identity Federation.Kubernetes clients do not always include cluster information in
KUBERNETES_EXEC_INFO, and in-cluster workloads should not require persisted CLI credentials or cache state.This change:
STACKIT_FEDERATED_TOKEN_FILE.STACKIT_ACCESS_TOKEN.Relates to #1327.
This is complementary to #1424, which introduces general WIF authentication support.
Validation
make fmtmake generate-docsmake lintmake buildgo test ./internal/pkg/auth ./internal/cmd/ske/kubeconfig/loginThe repository-wide
make testcurrently reports two unrelated failures that were reproduced on an unchangedmaincheckout.Checklist
make fmtmake generate-docsmake lint