stackit-cli icon indicating copy to clipboard operation
stackit-cli copied to clipboard

fix(ske/login): add profile email to cacheKey

Open Kumm-Kai opened this issue 2 months ago • 3 comments

Description

Adds the profile email as additional info to the calculated hash cachekey.

This solves an issue where the user doesn't directly see that their current credentials are unable to access the cluster, when they have a cached and still valid kubeconfig that was retrieved with different/working credentials earlier.

Checklist

  • [ ] Issue was linked above
  • [x] Code format was applied: make fmt
  • [x] Docs are up-to-date: make generate-docs (will be checked by CI)
  • [x] Unit tests got implemented or updated
  • [x] Unit tests are passing: make test (will be checked by CI)
  • [x] No linter issues: make lint (will be checked by CI)

Kumm-Kai avatar Nov 11 '25 10:11 Kumm-Kai

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.

github-actions[bot] avatar Nov 19 '25 02:11 github-actions[bot]

cc @rubenhoenle :slightly_smiling_face:

Kumm-Kai avatar Nov 19 '25 07:11 Kumm-Kai

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.

github-actions[bot] avatar Nov 27 '25 02:11 github-actions[bot]

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.

github-actions[bot] avatar Dec 05 '25 03:12 github-actions[bot]