Skip to content

Commit

Permalink
chore: use latest kube-utils for sa token rotation (#390)
Browse files Browse the repository at this point in the history
* fix: recheck sa token regularly

need to refetch the service account auth token regularly since going forward it will be marked stale and request will be rejected if using an old token.

* chore: update dependencies

* remove ref to kubeapiconfig

* simplify
  • Loading branch information
alewitt2 authored May 3, 2022
1 parent 7c0230b commit e61354c
Show file tree
Hide file tree
Showing 7 changed files with 569 additions and 771 deletions.
14 changes: 7 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 2022,
"sourceType": "module"
},
"env": {
Expand All @@ -11,14 +11,14 @@
"extends": "eslint:recommended",
"rules": {
"no-console": [
"error"
"error"
],
"indent": [
"error",
2,
{
"SwitchCase": 1
}
"error",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
Expand Down
Loading

0 comments on commit e61354c

Please sign in to comment.