Kubernetes Prow Robot
d010f2efd6
Merge pull request #2317 from anvil-works/allow_watch_bookmarks
...
Add support for allowWatchBookmarks to the dynamic client
2025-04-24 13:54:31 -07:00
Raj Bhargav
d451d2fc7a
Update watch_test.py
...
As per request added few empty lines to test case in watch_test.py
2025-03-20 11:23:23 +05:30
Raj Bhargav
f4d0842d0e
Update watch.py
...
Changes made in watch.py to print multiple empty line if necessary.
2025-03-20 11:21:20 +05:30
Raj Bhargav
1e093d04aa
Update watch_test.py
...
Changes made to check whether entire log is printed or not.
2025-03-20 01:44:56 +05:30
Raj Bhargav
1268769cc0
Update watch_test.py
...
Removed pod_manifest from watch_test.py.
2025-03-20 00:27:16 +05:30
Raj Bhargav
f0a73c8824
Update watch.py
...
Changes made in unmarshal_event for not having issues with empty lines.
2025-03-19 14:15:44 +05:30
Raj Bhargav
3cee537e63
Update watch_test.py
...
Added a unit test name test_pod_log_empty_lines to check if watch is printing empty lines. And made changes in test_watch_with_interspersed_newlines as the watch is also printing empty line. Added a condition to check for empty lines in ogs to avoid the errors.
2025-03-18 13:46:41 +05:30
Raj Bhargav
d1adc8a544
Changes for issue 2358
...
Changes made in wacth.py to print Empty newlines that are skipped when watching pod logs.
2025-03-08 20:45:32 +05:30
Kubernetes Prow Robot
de280fbf1f
Merge pull request #2340 from tomasaschan/fix-exec-provider
...
Fix exec provider
2025-02-14 08:40:22 -08:00
Tomas Aschan
a588f51328
Address review feedback
2025-02-14 15:43:39 +01:00
Tomas Aschan
f64be15641
fix: Extract value from ConfigNode before storing it
2025-01-29 15:00:41 +01:00
Tomas Aschan
df1b0c156f
Tweak test to fail like the production code does
2025-01-29 14:57:38 +01:00
Akhil Lawrence
e852ac71f9
mark shell=False in ExecProvider for linux/darwin platforms
2025-01-29 07:51:33 +05:30
Pete
16ffec46ca
Add support for allowWatchBookmarks to the dynamic client
2025-01-07 11:35:28 +00:00
Pete
3b58df2b74
Close the Python sockets when the Websocket closes
...
This allows the client to detect when the connection has been interrupted
2025-01-06 08:17:09 +00:00
Rafał
ee5b9e21a2
Merge branch 'kubernetes-client:master' into patch-1
2024-11-27 15:45:20 +01:00
Brendan Burns
8c60fe94e0
Support providing cluster info to the exec provider
Kubernetes Python Client - Validation / build (3.10) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.11) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.7) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.8) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.9, coverage) (push) Has been cancelled
2024-10-30 19:50:34 +00:00
Pranoy Dey
2dfa782fb9
Added Shell=True for windows flow. Fixes file not found error while running in Windows
2024-10-05 17:31:29 +05:30
Rafał
51d65dec05
Merge branch 'kubernetes-client:master' into patch-1
2024-08-29 15:15:04 +02:00
Kavish Dahekar
dac8a5c7a5
Update kube_config_test.py
...
fix missing method invocation
2024-08-27 13:21:57 +02:00
Kubernetes Prow Robot
9f9bec2739
Merge pull request #2076 from bobh66/watch_named_object
...
Fix dynamic client watch of named resource
2024-04-23 15:25:23 -07:00
showjason
07c94fbee1
fix time format
2024-03-30 22:21:42 +08:00
showjason
1e472043ec
replace utcnow with now, due to utcnow will be deprecated
2024-03-30 22:11:48 +08:00
Kubernetes Prow Robot
851dc2a0b1
Merge pull request #2194 from meln5674/feature/binary-wsclient
...
Enable binary support for WSClient
2024-02-28 21:00:27 -08:00
Andrew Melnick
488518d957
Enable binary support for WSClient
...
Currently, under python 3, the WSClient decodes all data via UTF-8. This
will break, e.g. capturing the stdout of tar or gzip.
This adds a new 'binary' kwarg to the WSClient class and websocket_call
function. If this is set to true, then the decoding will not happen, and
all channels will be interpreted as binary.
This does raise a slight complication, as the OpenAPI-generated client
will convert the output to a string, no matter what, which it ends up
doing by (effectively) calling repr(). This requires a bit of magic to
recover the orignial bytes, and is inefficient. However, this is only
the case when using the default _preload_content=True, setting this to
False and manually calling read_all or read_channel, this issue does not
arise.
2024-02-28 15:41:24 -07:00
Kubernetes Prow Robot
d36ec43f06
Merge pull request #1968 from FlorianJDF/custom_client_config_new_client
...
kube-config: add custom client configuration injection
2024-02-19 07:59:00 -08:00
Kubernetes Prow Robot
7712421cdc
Merge pull request #2187 from tomplus/fix/mergin-current-context
...
Fix merging current-context in kube-configs
2024-02-12 10:32:16 -08:00
Kubernetes Prow Robot
09bab99914
Merge pull request #2178 from bnavigator/patch-1
...
Replace deprecated assertEquals call
2024-02-12 09:40:40 -08:00
Kubernetes Prow Robot
4c9c058f0c
Merge pull request #2153 from jxdv/update-ioerror
...
remove deprecated IOError
2024-02-12 09:37:31 -08:00
Tomasz Prus
69cfcda963
Fix merging current-context in kube-configs
2024-01-31 23:48:15 +01:00
Ben Greiner
346e28acab
Replace deprecated assertEquals call
2024-01-13 22:25:26 +01:00
Kubernetes Prow Robot
1193741609
Merge pull request #2100 from davidopic/master
...
Fix UTF-8 failures in Watch
2023-12-21 00:20:41 +01:00
Rafał
f6c65df10f
Avoid shadowing important built-ins
2023-12-01 17:03:15 +01:00
gopal
51944266f3
Return empty list when there is no matching resource instsnce items to return
2023-11-28 14:02:58 +05:30
jxdv
50f9dd45d8
remove deprecated IOError
2023-11-26 16:51:49 +01:00
David E
934d026788
Handled UTF-8 edge cases in Watch
2023-08-07 12:20:31 -07:00
Kubernetes Prow Robot
76ec6f5ce5
Merge pull request #2095 from dbasunag/master
...
fix split call to handle apis of the format a/b/c
2023-07-31 11:00:38 -07:00
dbasunag
6875510e78
fix split call to handle apis of the format a/b/c
2023-07-31 09:44:38 -04:00
Tiago Silva
68fe8eea41
Adds support for custom Server Name Indication (SNI)
2023-06-27 14:26:50 +01:00
Bob Haddleton
cb2aa4ef80
Fix dynamic client watch of named resource
...
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
2023-06-16 10:46:05 -05:00
Peter Horsley
b5b39b378e
Fix exception in ExecProvider when no console is attached.
2023-05-08 08:11:56 +10:00
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
Yu Liao
854672a93a
Merge pull request #1998 from kianmeng/fix-typos
...
Fix typos
2023-02-24 20:36:00 -08:00
Kubernetes Prow Robot
0c6714abef
Merge pull request #1886 from 0xFelix/resource-field-to-dict
...
Add to_dict method to ResourceField
2023-02-24 18:06:05 -08:00
Kubernetes Prow Robot
f81c7281cf
Merge pull request #1976 from t-yrka/inconsistent-timeout
...
Convert timeout to milliseconds when using poll method
2023-01-30 15:16:49 -08: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
Kubernetes Prow Robot
8f80cf444e
Merge pull request #1947 from arrikto/feature-out-of-cluster-token-refresh
...
Fix the refreshing of tokens from outside the cluster
2023-01-16 11:28:09 -08:00
Tomasz Spyrka
fd13fc8c71
Convert timeout to ms when using poll method
2022-12-23 23:41:44 +01:00
浩
6764e8d7dd
keep config_file value
2022-12-21 06:58:51 +00:00