Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
321 commits
Select commit Hold shift + click to select a range
529a72a
Fix base64 padding for kube config
bpicolo Jul 30, 2018
07ef626
added OWNERS file.
yliaog Aug 6, 2018
c037d14
Remove link to kubernetes-client/community
spiffxp Aug 23, 2018
c9b3113
Merge pull request #83 from spiffxp/update-design-docs-link
k8s-ci-robot Aug 23, 2018
d54efa7
Merge branch 'master' into fix_base64_padding_for_kconfig
bpicolo Aug 27, 2018
becae56
Add partial support for out-of-tree client authentication providers (…
dovreshef Sep 6, 2018
d68e456
Merge pull request #75 from dovreshef/master
k8s-ci-robot Sep 6, 2018
9d78cd7
fix: read config data with bytes (python3)
tomplus Sep 17, 2018
7d1e449
Merge pull request #86 from tomplus/fix/config-bytes
k8s-ci-robot Sep 19, 2018
260d257
Fix Issue-60: Replace encodestring and decodestring for standard_b64e…
dechristo Oct 4, 2018
2d514ce
Merge pull request #90 from dechristo/Issue-634
k8s-ci-robot Oct 10, 2018
3682e9b
*Update ExecProvider to use safe_get()
fillbit Oct 4, 2018
8d7b6f7
Merge pull request #91 from fillbit/handle-null-optional-values
k8s-ci-robot Oct 12, 2018
13d5711
pep8 to pycodestyle
micw523 Oct 27, 2018
83ebb9d
Merge pull request #95 from micw523/master
k8s-ci-robot Oct 29, 2018
be621d3
Fix for Travis CI failing on python-base
micw523 Nov 2, 2018
4da0fcc
Merge pull request #99 from micw523/update-ubuntu-ver
k8s-ci-robot Nov 2, 2018
8f3a69e
Refresh GCP tokens on retrieval by overriding client config method.
TrevorEdwards Oct 6, 2018
949c39e
Merge pull request #92 from TrevorEdwards/59_override
k8s-ci-robot Nov 2, 2018
2f3247b
Travis CI for Python 3.7
micw523 Nov 10, 2018
879ab01
Merge pull request #45 from bran-wang/master
k8s-ci-robot Nov 12, 2018
15474ef
fix #88
saberuster Nov 26, 2018
86ae2de
Add verify-boilerplate script
iamneha Dec 5, 2018
d56fdbc
Verify Boilerplate fix
iamneha Dec 5, 2018
5c242ea
Merge pull request #100 from micw523/master
k8s-ci-robot Dec 7, 2018
375befb
Make dependancy adal optional
iamneha Dec 11, 2018
1637d56
Add email scope to GCP provided credential refresh
axelsteingrimsson Dec 12, 2018
ebb49d0
Use safe_load and safe_dump for all yaml calls
xvello Jan 7, 2019
13ff518
linting
xvello Jan 8, 2019
bd9a852
Merge pull request #111 from xvello/xvello/safe_load
k8s-ci-robot Jan 8, 2019
260f855
Merge pull request #108 from iamneha/make-adal-optional
k8s-ci-robot Jan 23, 2019
8497dfb
Merge pull request #107 from iamneha/verify-scripts
k8s-ci-robot Jan 23, 2019
3c30a30
fix watching with a specified resource version
juliantaylor Jan 19, 2019
2d69e89
Merge pull request #109 from juliantaylor/fix-watch-reset
k8s-ci-robot Jan 23, 2019
4d387d5
Updated OWNERS to include link to docs
rlenferink Feb 4, 2019
0fc0d40
Update pycodestyle
iamneha Feb 7, 2019
f30d840
Merge pull request #115 from iamneha/pycodestylw
k8s-ci-robot Feb 7, 2019
0229f0a
Restore one-line link
micw523 Feb 11, 2019
d2ac885
Merge pull request #116 from micw523/one-line-link
k8s-ci-robot Feb 11, 2019
8e6f043
Making watch work with read_namespaced_pod_log.
mitar Oct 16, 2018
e077f88
Merge pull request #114 from rlenferink/patch-owners
k8s-ci-robot Feb 17, 2019
4750aa9
Add additional checks + test case fixes
bpicolo Feb 18, 2019
ad06e5c
Added tests.
mitar Feb 19, 2019
972a76a
Don't use break inside finally.
mitar Feb 21, 2019
c4de8bd
Merge pull request #93 from mitar/watch_and_logs
k8s-ci-robot Mar 14, 2019
328b2d1
feat: merging kubeconfig files
tomplus Oct 19, 2018
5c03b3b
Merge pull request #94 from tomplus/feat/merge-kubeconfigs
k8s-ci-robot Mar 18, 2019
b3ddbd9
Add tests for updated pieces
bpicolo Feb 19, 2019
72a02cc
Merge remote-tracking branch 'upstream/master' into fix_base64_paddin…
bpicolo Mar 30, 2019
511243a
Drop Python3.4
oz123 Apr 5, 2019
1d5231c
Merge pull request #110 from axelsteingrimsson/add_email_scope_to_gcp…
k8s-ci-robot Apr 8, 2019
487c918
Merge pull request #79 from bpicolo/fix_base64_padding_for_kconfig
roycaihw Jun 19, 2019
474e9fb
Merge pull request #104 from saberuster/master
k8s-ci-robot Jun 21, 2019
30bc425
fix bug and add method azure is expired
rogerhmar Jul 3, 2019
26e16d0
Add azure config tests
rogerhmar Jul 3, 2019
6edea7b
shorten down long line
rogerhmar Jul 3, 2019
8b748a7
Merge pull request #127 from oz123/drop-python-34
k8s-ci-robot Jul 8, 2019
95858d5
Merge pull request #141 from rogerhmar/fix_issue_84
k8s-ci-robot Jul 8, 2019
7d98f28
Generate docs in python3
fabianvf Jul 24, 2019
06c2630
Merge pull request #145 from fabianvf/docutils-py3
k8s-ci-robot Jul 24, 2019
e1f0bed
Remove sudo for Travis CI
micw523 Jul 30, 2019
4f7bcfa
Merge pull request #148 from micw523/patch-1
k8s-ci-robot Jul 30, 2019
ca007f3
parse microseconds
goddenrich Aug 1, 2019
ec31e05
Merge pull request #150 from goddenrich/fix-miliseconds-rfc3339-re
k8s-ci-robot Aug 1, 2019
461a3bf
Add dynamic client
fabianvf Jul 30, 2018
5b21d65
Add tests for dynamic client
fabianvf Jun 28, 2019
53c4cb2
Add boilerplate
fabianvf Jun 28, 2019
4b8e89f
Merge pull request #56 from fabianvf/dynamic-client
k8s-ci-robot Aug 12, 2019
3827074
Refs. #151 -- detect binary payloads and send the correct opcode
sergei-maertens Aug 14, 2019
c941d74
Remove all shebangs from Python modules and checker
oz123 Aug 20, 2019
34f3d05
Update ws_client.py to support proxy
AyliD Aug 29, 2019
4c1ab55
Merge pull request #155 from oz123/remove-shebangs
k8s-ci-robot Aug 29, 2019
69570ac
Add property returncode to WSClient
Sep 17, 2019
5092d96
Merge pull request #160 from oz123/exit_code
k8s-ci-robot Sep 18, 2019
a29bf29
Add checks for None config file
qlemaire22 Sep 6, 2019
af42f24
Merge pull request #158 from qlemaire22/master
k8s-ci-robot Sep 20, 2019
6dec044
Issue-954 - Support false values in configuration file
ganchurin Sep 18, 2019
4ea6921
added test that should fail
goddenrich Sep 23, 2019
7ce0198
default empty dict
goddenrich Sep 23, 2019
6ca7a5b
Merge pull request #157 from AyliD/patch-1
k8s-ci-robot Sep 24, 2019
8ef5857
Use explicit API version for retrieving CRD API
fabianvf Sep 24, 2019
f2ae80b
Merge pull request #164 from fabianvf/explict-crd-apiversion
roycaihw Sep 24, 2019
c700068
Merge pull request #161 from ganchurin/issue-954
k8s-ci-robot Sep 24, 2019
9f73cc6
Merge pull request #163 from goddenrich/kube-configs-with-no-contexts…
k8s-ci-robot Sep 24, 2019
a4f249b
Migrate to pytest
Oct 2, 2019
afd1301
Merge pull request #167 from oz123/replace-nose-with-pytest
k8s-ci-robot Oct 2, 2019
0b20833
Dynamically load apiserver id from kube config
fooka03 Oct 9, 2019
6b65461
Merge pull request #170 from fooka03/bugfix/135_azure_refresh_token
k8s-ci-robot Oct 9, 2019
f11587d
Fixed Watch.unmarshal_event when data is not a JSON-serialized object
Ark-kun Oct 18, 2019
5f395ba
Runs hack/* scripts as individual build step
palnabarun Oct 19, 2019
4e84e7d
Adds Python 3.8 to the Travis CI test jobs
palnabarun Oct 21, 2019
51157aa
Merge pull request #172 from palnabarun/118-ci-boilerplate-seperation
k8s-ci-robot Oct 22, 2019
a2d1024
Merge pull request #173 from palnabarun/ci-add-python-3.8
k8s-ci-robot Oct 22, 2019
ced17c6
stream/ws_client: Use StringIO for WSClient._all
rawler Nov 26, 2019
368d0d7
ws_client: Add option to disable capture-all
rawler Nov 27, 2019
278105e
Merge pull request #178 from rawler/optional-capture-all
k8s-ci-robot Jan 6, 2020
39113de
Add option to refresh gcp token when config is cmd-path
jfrabaute Oct 3, 2019
7ea5cb4
Merge pull request #175 from jfrabaute/cmdpath
k8s-ci-robot Jan 8, 2020
64662bb
config: Fix persist_config flag and function calls
jfrabaute Oct 4, 2019
a25f49e
Merge pull request #152 from sergei-maertens/master
k8s-ci-robot Feb 14, 2020
faf2e0c
Fix apiserver_id 'get' method
fooka03 Feb 21, 2020
ff9a5f3
Merge pull request #169 from jfrabaute/save
k8s-ci-robot Feb 21, 2020
7e7976b
Merge pull request #171 from Ark-kun/patch-1
k8s-ci-robot Feb 21, 2020
ea11e44
watch stream: stop unmarshalling when streaming log
roycaihw Feb 21, 2020
d30f1e6
Merge pull request #184 from fooka03/bugfix/179
k8s-ci-robot Feb 21, 2020
b87a5fe
Merge pull request #185 from roycaihw/watch-unmarshal
k8s-ci-robot Mar 3, 2020
fb259e1
Prevent 503s from killing the client during discovery
fabianvf Mar 13, 2020
3cfc41e
set expiration on token of incluster config and reload if expires
zshihang Apr 12, 2020
bf5c599
Merge pull request #191 from zshihang/master
k8s-ci-robot Apr 27, 2020
0b1ac80
allow incluster to accept pass-in config
zshihang May 12, 2020
49ec060
Merge pull request #193 from zshihang/master
k8s-ci-robot May 13, 2020
ab51510
Adding ability to pass kube_config as a dict.
vishnu667 May 14, 2020
27a1b81
Re-using the _get_kube_config_loader in _get_kube_config_loader_for_y…
vishnu667 May 14, 2020
e92495f
Adding test Cases
vishnu667 May 15, 2020
c6e8194
Adding config to init file and indentation fixes
vishnu667 May 15, 2020
6c32737
test case fix __get_kube_config_loader_dict_no_persist
vishnu667 May 21, 2020
52a3bdc
removing load from dict presist from the added test cases.
vishnu667 May 21, 2020
3ff79da
fix cfg is none, load kube config error
ACXLM Jun 2, 2020
9181235
updated docstring for load_kube_config_from_dict
vishnu667 Jun 19, 2020
a6a6273
Merge pull request #195 from vishnu667/kubeConfig_from_dict
k8s-ci-robot Jun 19, 2020
982de11
generated by scripts/update-pycodestyle.sh in main repo
roycaihw Jun 22, 2020
70d6639
Merge pull request #200 from roycaihw/fix/pycodestyle
k8s-ci-robot Jun 22, 2020
30d9e2a
change test case
ACXLM Jun 9, 2020
3ea8003
Merge pull request #198 from ACXLM/fix/load-kube-config
k8s-ci-robot Jun 25, 2020
a270ea2
FileOrData: Handle None object
Akasurde Jul 2, 2020
06e48c5
Retry watch if request expires.
mitar Feb 11, 2019
ded3d12
Merge pull request #133 from mitar/retry-watch
k8s-ci-robot Jul 15, 2020
a7c7829
add old api_key to set auth attributes
roycaihw Jul 16, 2020
7fc2c31
Merge pull request #202 from roycaihw/fix/add-old-token
k8s-ci-robot Jul 16, 2020
a54f404
Fix a Python 2 compatibility issue
palnabarun Jul 16, 2020
b68ca30
Fixes codestyle failures
palnabarun Jul 16, 2020
fb86b8a
Merge pull request #204 from palnabarun/fix-watch-py2-compatibility
k8s-ci-robot Jul 16, 2020
b85aff2
Accept client certificates from an authn/authz plugin
greed42 May 29, 2020
ab61ca3
Merge pull request #201 from Akasurde/kube_config_no_obj_fix
k8s-ci-robot Jul 29, 2020
54d188f
Merge pull request #205 from greed42/plugin-certificates
k8s-ci-robot Jul 30, 2020
f65f06b
commiting changes to branch
ryphon Aug 19, 2020
aac4e35
correcting tests
ryphon Aug 19, 2020
fd62214
Refactor stream package to enable common method helpers for other str…
iciclespider Aug 27, 2020
a00ed7f
Put extracting the "configuration" back into the stream.py module, an…
iciclespider Aug 28, 2020
471a678
Merge pull request #211 from iciclespider/refactor-for-port-forward
k8s-ci-robot Aug 28, 2020
74d0e29
Implement port forwarding.
iciclespider Aug 23, 2020
f85a41f
renaming functions and setting to internal
ryphon Aug 31, 2020
cc9ae10
Address the following PR issues:
iciclespider Sep 1, 2020
72e3725
Rework the parsing of the requested ports to support both a local por…
iciclespider Sep 2, 2020
7bf04b3
Rework how the PortForward._proxy thread determines when and how to t…
iciclespider Sep 6, 2020
ce3a1a2
Rework loop which collects the local python sockets for read and writ…
iciclespider Sep 7, 2020
2e86b71
Better handling of error channel reponse, and comment typo.
iciclespider Sep 7, 2020
5d39d0d
Support both python 2.7 and 3.x.
iciclespider Sep 8, 2020
3dc7fe0
Merge pull request #210 from iciclespider/port-forward
k8s-ci-robot Sep 8, 2020
bfa9681
supporting 2.7, reading works fine, writing reqs unicode
ryphon Sep 9, 2020
49cbb1d
replace inside the parens
ryphon Sep 9, 2020
9f4775f
trying to fix pycodestyle problems
ryphon Sep 9, 2020
0559445
unused io import, pre-setting pycodestyle
ryphon Sep 9, 2020
fd322f7
Merge pull request #208 from ryphon/207-config-as-string
k8s-ci-robot Sep 9, 2020
a5e529d
Merge pull request #187 from fabianvf/dynamic-ignore-unavailable
k8s-ci-robot Sep 15, 2020
acdd058
restore discovery client exception handling
roycaihw Oct 14, 2020
2da2b98
Merge pull request #215 from roycaihw/fix/dynamic-e2e-exception
k8s-ci-robot Oct 14, 2020
3412151
Add Python 3.9 to build
gliptak Nov 23, 2020
fdc9907
Merge pull request #217 from gliptak/python1
k8s-ci-robot Dec 14, 2020
7199c14
Change KUBE_CONFIG_DEFAULT_LOCATION to use pathlib.Path.home instead …
moshevayner Dec 25, 2020
0c662bb
Adding load_config wrapper method to have a more generic way of initi…
moshevayner Dec 25, 2020
10db259
Document kwargs param
moshevayner Dec 25, 2020
3f05359
configmap-e2e: use labels
roycaihw Jan 5, 2021
2c9ddf9
Revert switch to pathlib, to maintain Python2 support
moshevayner Jan 5, 2021
b002110
Merge pull request #222 from roycaihw/configmap-e2e/labels
roycaihw Jan 5, 2021
4d29af1
Leader Election issue #434
Invictus17 Jul 31, 2020
4bf72d7
Merge pull request #206 from Invictus17/master
k8s-ci-robot Jan 15, 2021
8a3bdb8
take care of empty kube_config files
MridulS Jan 23, 2021
76d8fbd
fix codestyle
MridulS Jan 25, 2021
18a5ccc
fix: load cache error when CacheDecoder object is not callable
jamesgetx Jan 29, 2021
ec1e85e
test: self._cache = json.load(f, cls=partial(CacheDecoder, self.client))
jamesgetx Feb 1, 2021
e09312a
test: self._cache = json.load(f, cls=partial(CacheDecoder, self.client))
jamesgetx Feb 1, 2021
3c71987
fix typo in test file
MridulS Feb 1, 2021
6e2e494
Merge pull request #226 from jamesgetx/fix_cache_not_work
k8s-ci-robot Feb 2, 2021
04feb9f
Merge pull request #223 from MridulS/empty_file_error
k8s-ci-robot Feb 9, 2021
ebea7e3
Fix Watch retries with 410 errors
chrisayoub Feb 25, 2021
060cac1
Merge pull request #227 from chrisayoub/fix_watch_bug
k8s-ci-robot Feb 25, 2021
2ea3efb
Remove inactive members from OWNERS
mrbobbytables Feb 28, 2021
93aa318
Merge pull request #228 from mrbobbytables/owners
k8s-ci-robot Mar 1, 2021
ed98dae
Fix trivial typo in error messages - 'does not exist' vs. 'does not e…
mthaddon Mar 19, 2021
fb425a3
Merge pull request #229 from mthaddon/master
k8s-ci-robot Mar 19, 2021
8e4c5eb
Merge branch 'master' into m3e-issue-1005
moshevayner Mar 22, 2021
9bce869
Switching print statement to use legacy .format() method, in order to…
moshevayner Mar 22, 2021
0395a10
Run black linter to make update-pycodestyle happy
moshevayner Mar 22, 2021
34b8304
autopep8
moshevayner Mar 22, 2021
0a5b04f
Revert black and only try autopep8 this time
moshevayner Mar 22, 2021
cf2f312
Applied autopep8 properly this time. This should work
moshevayner Mar 22, 2021
b5aa2dd
Address remarks from pycodestyle
moshevayner Mar 22, 2021
698299a
isort
moshevayner Mar 22, 2021
9039966
Fixes kubernetes-client/python issue 1047 "ResponseNotChunked from wa…
dhague Apr 8, 2021
db50d02
Merge pull request #231 from dhague/fix/1047
k8s-ci-robot Apr 8, 2021
10ae476
quick fix of decoding error for BOOKMARK event
yliaog Apr 13, 2021
e514f69
Merge pull request #234 from yliaog/master
k8s-ci-robot Apr 13, 2021
fc5b730
load_kube_config_from_dict() support define custom temp files path
onecer Apr 12, 2021
f38221c
Merge pull request #233 from onecer/master
k8s-ci-robot Apr 14, 2021
96bb22f
add PR template
roycaihw Apr 21, 2021
8a969ee
Merge pull request #235 from roycaihw/add-pr-template
k8s-ci-robot Apr 21, 2021
90e16c6
Rename Method _websocket_reqeust to _websocket_request
jonasdlindner Apr 30, 2021
4d19204
Merge pull request #237 from jonasdlindner/stream_typo
k8s-ci-robot May 2, 2021
bde3935
Support customizing “Accept” header and added a testcase to test cust…
Yashks1994 Apr 27, 2021
b4d3aad
Merge pull request #236 from Yashks1994/header-patch1
k8s-ci-robot May 7, 2021
711d4ab
drop python2 support
Priyankasaggu11929 May 14, 2021
d25434b
Merge pull request #238 from Priyankasaggu11929/psaggu-drop-python2-s…
k8s-ci-robot May 17, 2021
6d1c8d3
Apply suggestion
moshevayner Jun 19, 2021
0d4f822
Merge pull request #221 from MoShitrit/m3e-issue-1005
k8s-ci-robot Jun 22, 2021
dca0ca6
Fix load_config: expand ~
david0 Jul 7, 2021
e2ba3fb
do expanduser in load_config
david0 Jul 12, 2021
62366ee
Merge pull request #246 from david0/fix-load-config
k8s-ci-robot Jul 12, 2021
6f9e332
Fix replication controller pods delete in tests
hedrox Jun 27, 2021
cbb7169
Add support for dryRun parameter
gravesm Jul 26, 2021
59ba58b
Add the ability to stop the watcher gracefully.
Jun 23, 2021
b0b0dde
Add fabianvf to reviewers
fabianvf Jul 29, 2021
9bf29f7
Merge pull request #248 from fabianvf/add-fabian-owners
k8s-ci-robot Jul 29, 2021
a0d4a31
Merge pull request #243 from hedinasr/master
k8s-ci-robot Aug 4, 2021
6b0104f
Merge pull request #247 from gravesm/dry-run
k8s-ci-robot Aug 5, 2021
dd15ac6
Merge pull request #244 from hedrox/bug-rc-delete
k8s-ci-robot Aug 15, 2021
66a45cd
Make duck-typing in serialize_body method more restrictive
piglei Aug 22, 2021
70b78cd
Refresh exec-based API credentials when they expire
Aug 27, 2021
b0afc93
Merge pull request #241 from piglei/enhance-body-serialization
k8s-ci-robot Sep 16, 2021
bd944a5
fix: field extra_args recursive growth caused by Resource and Subreso…
jamesgetx Sep 3, 2021
c040d87
fix: ignore ResourceNotFoundError in the first call of LazyDiscoverer…
narasux Sep 28, 2021
281f17a
add support for server side apply
abikouo Sep 16, 2021
769bc57
add proxy authentication supporting for websocket (stream/ws_client.py)
itaru2622 Sep 29, 2021
8777271
proxy authentication supporting for websocket (stream/ws_client.py), …
itaru2622 Oct 5, 2021
59e7d11
change base64decode to urlsafe_b64decode
itaru2622 Oct 8, 2021
0052a68
Merge pull request #256 from itaru2622/proxy_auth
k8s-ci-robot Oct 9, 2021
f23b284
fix typo in proxy auth (stream/ws_client.py)
itaru2622 Oct 10, 2021
5756b94
Merge pull request #257 from itaru2622/fix_proxy_auth_typo
k8s-ci-robot Oct 11, 2021
21f1d7f
Merge pull request #254 from abikouo/me/server_side_apply
k8s-ci-robot Oct 11, 2021
95e2e85
closes open file descriptors to prevent leaks
DiptoChakrabarty Oct 15, 2021
6023e11
Merge pull request #253 from schneesu/fix_unsuitable_raise
k8s-ci-robot Oct 15, 2021
298f21a
Merge pull request #251 from jamesgetx/fix_to_dict
k8s-ci-robot Oct 15, 2021
51460f4
Merge pull request #258 from DiptoChakrabarty/kube_config
k8s-ci-robot Oct 15, 2021
4ef4139
add no_proxy support to stream/ws_client.py
itaru2622 Oct 18, 2021
09dbbe5
Merge pull request #260 from itaru2622/no_proxy
k8s-ci-robot Oct 18, 2021
d47030a
Make socket Windows-proof
aagten Nov 9, 2021
3aa8b4c
Merge pull request #262 from aagten/bugfix/windows-proof-sockets
k8s-ci-robot Nov 10, 2021
8b306c0
add a new method of config.kube_config.new_client_from_config_dict
WalkerWang731 Nov 17, 2021
a66f8df
Merge pull request #266 from WalkerWang731/master
k8s-ci-robot Nov 17, 2021
bc697ae
Fix leaderelection/example.py, now works in package.
tdihp Nov 24, 2021
b9cc79e
Merge pull request #250 from twitter-forks/emenendez/741
k8s-ci-robot Nov 30, 2021
18828d9
Use select.poll() for exec on linux/darwin
jsun-splunk Nov 29, 2021
4f761d3
Merge pull request #267 from tdihp/pr-leaderelection-example
k8s-ci-robot Nov 30, 2021
06191d3
Merge pull request #268 from jsun-splunk/scaling-k8s
k8s-ci-robot Dec 14, 2021
79e066a
fix: WSClient.returncode not idempotent
AurelienGasser Dec 14, 2021
f0fa950
Merge pull request #272 from AurelienGasser/fix-returncode-idempotent
k8s-ci-robot Dec 14, 2021
1c5bf58
Run kubeconfig exec commands in the correct directory. This fixes con…
aschleck Dec 23, 2021
6efd33d
Add a test to kube_config_test to check the cwd of the ExecProvider
aschleck Jan 6, 2022
e7c0c5c
Merge pull request #275 from aschleck/cwd
k8s-ci-robot Jan 6, 2022
9d17691
removed submodule
yliaog Jan 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion kubernetes/base
Submodule base deleted from f0fa95
72 changes: 72 additions & 0 deletions kubernetes/base/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!-- Thanks for sending a pull request! Here are some tips for you:

1. If this is your first time, please read our contributor guidelines: https://git.k8s.io/community/contributors/guide/first-contribution.md#your-first-contribution and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request. For reference on required PR/issue labels, read here:
https://git.k8s.io/community/contributors/devel/sig-release/release.md#issuepr-kind-label
3. Ensure you have added or ran the appropriate tests for your PR: https://git.k8s.io/community/contributors/devel/sig-testing/testing.md
4. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
5. If the PR is unfinished, see how to mark it: https://git.k8s.io/community/contributors/guide/pull-requests.md#marking-unfinished-pull-requests
-->

#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind design

Optionally add one or more of the following kinds if applicable:
/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

#### What this PR does / why we need it:

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
```release-note

```

#### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

<!--
This section can be blank if this pull request does not require a release note.

When adding links which point to resources within git repositories, like
KEPs or supporting documentation, please reference a specific commit and avoid
linking directly to the master branch. This ensures that links reference a
specific point in time, rather than a document that may change over time.

See here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files

Please use the following format for linking documentation:
- [KEP]: <link>
- [Usage]: <link>
- [Other doc]: <link>
-->
```docs

```
95 changes: 95 additions & 0 deletions kubernetes/base/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

# Intellij IDEA files
.idea/*
*.iml
.vscode

46 changes: 46 additions & 0 deletions kubernetes/base/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# ref: https://docs.travis-ci.com/user/languages/python
language: python
dist: xenial

stages:
- verify boilerplate
- test

install:
- pip install tox

script:
- ./run_tox.sh tox

jobs:
include:
- stage: verify boilerplate
script: ./hack/verify-boilerplate.sh
python: 3.7
- stage: test
python: 3.9
env: TOXENV=update-pycodestyle
- python: 3.9
env: TOXENV=coverage,codecov
- python: 3.7
env: TOXENV=docs
- python: 3.5
env: TOXENV=py35
- python: 3.5
env: TOXENV=py35-functional
- python: 3.6
env: TOXENV=py36
- python: 3.6
env: TOXENV=py36-functional
- python: 3.7
env: TOXENV=py37
- python: 3.7
env: TOXENV=py37-functional
- python: 3.8
env: TOXENV=py38
- python: 3.8
env: TOXENV=py38-functional
- python: 3.9
env: TOXENV=py39
- python: 3.9
env: TOXENV=py39-functional
29 changes: 29 additions & 0 deletions kubernetes/base/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Contributing

Thanks for taking the time to join our community and start contributing!

Any changes to utilities in this repo should be send as a PR to this repo.
After the PR is merged, developers should create another PR in the main repo to update the submodule.
See [this document](https://github.com/kubernetes-client/python/blob/master/devel/submodules.md) for more guidelines.

The [Contributor Guide](https://github.com/kubernetes/community/blob/master/contributors/guide/README.md)
provides detailed instructions on how to get your ideas and bug fixes seen and accepted.

Please remember to sign the [CNCF CLA](https://github.com/kubernetes/community/blob/master/CLA.md) and
read and observe the [Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).

## Adding new Python modules or Python scripts
If you add a new Python module please make sure it includes the correct header
as found in:
```
hack/boilerplate/boilerplate.py.txt
```

This module should not include a shebang line.

If you add a new Python helper script intended for developers usage, it should
go into the directory `hack` and include a shebang line `#!/usr/bin/env python`
at the top in addition to rest of the boilerplate text as in all other modules.

In addition this script's name should be added to the list
`SKIP_FILES` at the top of hack/boilerplate/boilerplate.py.
Loading