Commit Graph

1784 Commits

Author SHA1 Message Date
Kavish Dahekar
dac8a5c7a5
Update kube_config_test.py
fix missing method invocation
2024-08-27 13:21:57 +02:00
Kubernetes Prow Robot
b3d4b57653
Merge pull request #2269 from kflynn/flynn/dev/gep-2257-tweaks
More GEP-2257 tweaks
2024-08-23 01:30:25 +01:00
Flynn
f05c642b4a Review feedback
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-21 12:22:36 -04:00
Flynn
3b4121e55a Have an example program too.
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-21 10:28:56 -04:00
Flynn
6a5e7e9eb4 Don't rely on durationpy for formatting; just do it manually.
This approach is less fragile, and also allows all three implementations (Rust, Go, and Python) to work in a similar way.

Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-21 10:28:33 -04:00
Kubernetes Prow Robot
1bc5b5e3a0
Merge pull request #2266 from kflynn/flynn/dev/gep-2257-tweaks
GEP-2257 tweaks
2024-08-16 13:46:39 -07:00
Flynn
8e3d9c4d89 Formatting.
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-16 15:46:35 -04:00
Flynn
40aaae5e53 Doctests!
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-16 15:35:53 -04:00
Flynn
862f48aa92 Clean up range checking in format_duration.
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-16 15:35:39 -04:00
Kubernetes Prow Robot
90d4fef7aa
Merge pull request #2261 from kflynn/flynn/dev/gep-2257
Add utility functions to parse and format GEP-2257 Duration strings for Gateway API
2024-08-12 07:42:56 -07:00
Flynn
9d620ad4cb Add utility functions to parse and format GEP-2257 Duration strings for Gateway API
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-09 23:35:23 -04:00
Kubernetes Prow Robot
7a278c794a
Merge pull request #2245 from yliaog/master
update release 1.30.1 GA README and CHANGELOG
2024-07-03 13:10:09 -07:00
yliao
ace488258f updated compatibility matrix and maintenance status 2024-06-05 20:57:52 +00:00
yliao
a6a0b920ed update changelog 2024-06-05 20:57:42 +00:00
Kubernetes Prow Robot
139dc0c63e
Merge pull request #2242 from yliaog/master
update changelog and readme
2024-05-30 11:50:15 -07:00
yliao
174bf0381b updated compatibility matrix in README 2024-05-28 18:05:12 +00:00
yliao
e3e210d209 update changelog 2024-05-28 18:04:55 +00:00
Kubernetes Prow Robot
cfc677e4f8
Merge pull request #2237 from yliaog/master
1.30.1 alpha release README and CHANGELOG
2024-05-22 13:14:35 -07:00
yliao
c31a5bfe8f updated compatibility matrix and maintenance status in README 2024-05-22 00:48:10 +00:00
yliao
43e5a487ae update changelog 2024-05-22 00:47:41 +00:00
Kubernetes Prow Robot
5c45f0b026
Merge pull request #2235 from yliaog/automated-release-of-30.0.0+snapshot-upstream-master-1716330451
Automated release of 30.0.0+snapshot upstream master 1716330451
2024-05-21 17:24:20 -07:00
yliao
109fe00035 generated client change 2024-05-21 22:28:03 +00:00
yliao
2aa427de83 generated API change 2024-05-21 22:28:02 +00:00
yliao
744f0ebb83 generated client change for custom_objects 2024-05-21 22:28:02 +00:00
yliao
6305fa88fa update changelog 2024-05-21 22:27:32 +00:00
yliao
dd01438ebc update version constants for 30.0.0+snapshot release 2024-05-21 22:27:32 +00:00
Kubernetes Prow Robot
e1fce8d8fc
Merge pull request #2234 from yliaog/master
commented out rest_urllib_headers.diff as it caused AttributeError:
2024-05-21 15:22:59 -07:00
yliao
f9c38c5378 commented out rest_urllib_headers.diff as it caused AttributeError: 2024-05-21 22:09:38 +00:00
Kubernetes Prow Robot
94e42113a1
Merge pull request #2220 from kubernetes-client/dependabot/github_actions/helm/kind-action-1.10.0
Bump helm/kind-action from 1.9.0 to 1.10.0
2024-04-25 10:59:33 -07:00
dependabot[bot]
926c725a43
Bump helm/kind-action from 1.9.0 to 1.10.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-24 03:45:04 +00: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
Kubernetes Prow Robot
e0234d3e71
Merge pull request #2215 from showjason/replace-utcnow-with-now
replace utcnow with now, due to utcnow will be deprecated
2024-04-02 08:28:10 -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
a43cda5523
Merge pull request #2190 from kubernetes-client/dependabot/github_actions/helm/kind-action-1.9.0
Bump helm/kind-action from 1.8.0 to 1.9.0
2024-02-12 09:48:46 -08:00
Kubernetes Prow Robot
87d8e741c0
Merge pull request #2188 from kubernetes-client/dependabot/github_actions/codecov/codecov-action-4
Bump codecov/codecov-action from 3 to 4
2024-02-12 09:45:24 -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
dependabot[bot]
eda192389d
Bump helm/kind-action from 1.8.0 to 1.9.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 03:03:44 +00:00
Kubernetes Prow Robot
c1f1a4740f
Merge pull request #2189 from tomplus/chore/remove-ipaddress
remove ipaddress from requirements.txt
2024-02-07 12:59:36 -08:00
Tomasz Prus
3b89a714e2 remove ipaddress from requirements.txt 2024-02-04 23:50:07 +01:00
dependabot[bot]
72de627426
Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 03:39:56 +00: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
df43d155d9
Merge pull request #2175 from arcivanov/issue_2169
Provides a patch to stop using urllib3 deprecated APIs until the upgrade to latest OpenAPI Generator (>6.4.0)
2024-01-08 23:32:30 +01:00
Arcadiy Ivanov
647d5d182b
Provides a patch to stop using urllib3 deprecated APIs until the upgrade to latest OpenAPI Generator (>6.4.0) 2024-01-08 17:24:55 -05:00