-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport: #4264 - Refresh token every minute
Signed-off-by: Marc Nuri <[email protected]>
- Loading branch information
Showing
5 changed files
with
118 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
kubernetes-client/src/test/resources/token-refresh-interceptor/kubeconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
clusters: | ||
- cluster: | ||
certificate-authority: testns/ca.pem | ||
insecure-skip-tls-verify: true | ||
server: https://172.28.128.4:8443 | ||
name: 172-28-128-4:8443 | ||
contexts: | ||
- context: | ||
cluster: 172-28-128-4:8443 | ||
namespace: testns | ||
user: user/172-28-128-4:8443 | ||
name: testns/172-28-128-4:8443/user | ||
current-context: testns/172-28-128-4:8443/user | ||
kind: Config | ||
preferences: {} | ||
users: | ||
- name: user/172-28-128-4:8443 | ||
user: | ||
token: token |
20 changes: 20 additions & 0 deletions
20
kubernetes-client/src/test/resources/token-refresh-interceptor/kubeconfig.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
clusters: | ||
- cluster: | ||
certificate-authority: testns/ca.pem | ||
insecure-skip-tls-verify: true | ||
server: https://172.28.128.4:8443 | ||
name: 172-28-128-4:8443 | ||
contexts: | ||
- context: | ||
cluster: 172-28-128-4:8443 | ||
namespace: testns | ||
user: user/172-28-128-4:8443 | ||
name: testns/172-28-128-4:8443/user | ||
current-context: testns/172-28-128-4:8443/user | ||
kind: Config | ||
preferences: {} | ||
users: | ||
- name: user/172-28-128-4:8443 | ||
user: | ||
token: new token |