Commit Graph

24 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2f546b9dcb
Merge pull request #1966 from blackstorm/lee/fix-load-config
Fix load_kube_config unexpected `kube_config_path` keyword argument
2023-04-10 12:57:15 -07:00
Kian-Meng Ang
2d299b7a57 Fix typos
Found via `codespell -S CHANGELOG.md,*.json,*.unprocessed -L querys,couldn`
2023-01-27 11:10:29 +08:00
Kubernetes Prow Robot
2a27133f7e
Merge pull request #1949 from arrikto/feature-in-cluster-token-refresh
Improve the refreshing of tokens from inside the cluster
2023-01-17 09:06:33 -08:00
6764e8d7dd keep config_file value 2022-12-21 06:58:51 +00:00
ab478a309f remove config_file arg check 2022-12-12 06:59:59 +00:00
6da7447d3a separte weak relate condtions 2022-12-12 06:54:17 +00:00
b648cb918e fix load_config unexpected keyword argument 2022-12-12 06:41:57 +00:00
Alexis Zamanis
392a8c1d07 Improve the refreshing of tokens from inside the cluster
Requests from inside the cluster misuse the API to refresh tokens.

Signed-off-by: Alexis Zamanis <alexiszam@arrikto.com>
2022-11-10 11:48:31 +02:00
Alexis Zamanis
a07531b932 Fix the refreshing of tokens from outside the cluster
Requests from outside the cluster may have stale tokens and fail with
status code `401`.

Signed-off-by: Alexis Zamanis <alexiszam@arrikto.com>
2022-11-08 17:13:24 +02:00
Kubernetes Prow Robot
e36a91be6b
Merge pull request #1912 from ramvikrams/%1
decoding a not safe url in load_kube_config
2022-10-13 15:21:01 -07:00
Kubernetes Prow Robot
a4c43ede69
Merge pull request #1922 from yliaog/master
mock.call_args.kwargs was added after python 3.7, switched to the old…
2022-10-13 10:59:01 -07:00
Yu Liao
f8f6d11058 mock.call_args.kwargs was added after python 3.7, switched to the old way to allow 3.7 and below pass 2022-10-13 17:28:54 +00:00
Vibhor Gupta
f740c634ec add testcases 2022-10-12 00:12:25 +05:30
Vibhor Gupta
94dbbf9118 Add support for using oidc CA certificate file while refreshing token 2022-10-11 19:01:26 +05:30
ram vikram singh
9152c48f0a
decoding a not safe url in load_kube_config
for issue #1911 fixing load_kube_config for decoding unsafe url token
2022-10-11 00:07:09 +05:30
Kubernetes Prow Robot
e3c0042e0f
Merge pull request #1804 from harshitasao/issue-1790
Instead of mock, used unittest.mock
2022-08-15 15:05:55 -07:00
xiaoaxiao
e5ca5aeeea
fix issue #1782 Resolve load_kube_config TMP file issue 2022-08-03 23:06:50 +08:00
Brendan Burns
c9ad88301e Add interactive configuration to exec provider. 2022-06-17 15:11:26 +00:00
harshitasao
f1dfdbba45 used unittest.mock instead of mock 2022-05-23 14:35:09 +05:30
Julien Eid
35bcb7f20c
Update kubernetes/base/config/exec_provider.py
Co-authored-by: Patrick J. McNerthney <pat@mcnerthney.com>
2022-05-20 06:31:15 -04:00
Julien Eid
fe2546147c Set cwd to None if empty string for ExecProvider 2022-04-18 11:30:45 -04:00
Yu Liao
9d176918a9 removed submodule 2022-01-07 16:17:39 -08:00
mbohlool
dd30fe6a70 Remove base folder to prepare for submodule model 2017-05-19 00:21:35 -07:00
mbohlool
1ebceb6460 Move manual code to a base folder to prepare for repo splitting. 2017-05-09 16:26:27 -07:00