Skip to content

Automated Generate from openapi release-1.27 #1213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 370 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
370 commits
Select commit Hold shift + click to select a range
75bf221
build(deps): bump openid-client from 5.3.0 to 5.3.1
dependabot[bot] Dec 14, 2022
6edbe38
Merge pull request #912 from brendandburns/mocha
k8s-ci-robot Dec 14, 2022
ca3e0cc
build(deps-dev): bump typedoc from 0.22.18 to 0.23.22
dependabot[bot] Dec 14, 2022
0e9a571
Merge pull request #913 from kubernetes-client/dependabot/github_acti…
k8s-ci-robot Dec 15, 2022
00639b3
Merge pull request #914 from kubernetes-client/dependabot/github_acti…
k8s-ci-robot Dec 15, 2022
ae2e92b
Merge pull request #915 from kubernetes-client/dependabot/github_acti…
k8s-ci-robot Dec 15, 2022
b5bd16a
Merge pull request #910 from brendandburns/deps
k8s-ci-robot Dec 15, 2022
f9e90c3
Merge pull request #916 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
e66caaf
Merge pull request #918 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
5dce223
Merge pull request #919 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
4b387be
Merge branch 'master' into dependabot/github_actions/actions/checkout-3
brendandburns Dec 15, 2022
f55e3f9
build(deps-dev): bump typescript from 4.7.4 to 4.9.4
dependabot[bot] Dec 15, 2022
811e7ec
build(deps): bump tslib from 1.14.1 to 2.4.1
dependabot[bot] Dec 15, 2022
e1f1d8d
Merge pull request #917 from kubernetes-client/dependabot/github_acti…
k8s-ci-robot Dec 15, 2022
0abddb3
Merge pull request #920 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
9b08e45
Merge pull request #921 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
282daf0
build(deps-dev): bump husky from 2.7.0 to 8.0.2
dependabot[bot] Dec 15, 2022
2fb2e32
build(deps): bump tar and @types/tar
dependabot[bot] Dec 15, 2022
557030f
Merge pull request #922 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
5695cc3
build(deps-dev): bump jasmine from 3.99.0 to 4.5.0
dependabot[bot] Dec 15, 2022
36cdd3b
Merge pull request #924 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
93ef52f
Merge pull request #923 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 15, 2022
a056694
build(deps-dev): bump mock-fs from 4.14.0 to 5.2.0 (#925)
dependabot[bot] Dec 15, 2022
1949306
build(deps-dev): bump mocha and @types/mocha (#926)
dependabot[bot] Dec 15, 2022
c89b824
Update to version 0.18.1
brendanburns Dec 15, 2022
d9a05da
Update version matrix.
brendandburns Dec 16, 2022
bdcfca8
build(deps): bump jsonpath-plus from 0.19.0 to 7.2.0
dependabot[bot] Dec 16, 2022
f6a7204
build(deps-dev): bump nock from 10.0.6 to 13.2.9
dependabot[bot] Dec 16, 2022
7c4681d
Merge pull request #928 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 16, 2022
303b9d3
Merge pull request #929 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 16, 2022
3dd5df5
build(deps-dev): bump @types/mock-fs from 3.6.30 to 4.13.1 (#932)
dependabot[bot] Dec 16, 2022
5af9f5d
build(deps-dev): bump ts-node from 8.10.2 to 10.9.1
dependabot[bot] Dec 19, 2022
eb39fce
build(deps): bump isomorphic-ws from 4.0.1 to 5.0.0
dependabot[bot] Dec 19, 2022
ffe273d
Merge pull request #933 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 19, 2022
65a8dd9
Merge pull request #935 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 19, 2022
2da2e11
build(deps-dev): bump typedoc from 0.23.22 to 0.23.23
dependabot[bot] Dec 20, 2022
be13ccb
Merge pull request #937 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Dec 20, 2022
e53ed44
Rev tslint and prettier.
brendandburns Dec 21, 2022
93891c7
Fix formatting and linting errors.
brendandburns Dec 21, 2022
bac932e
Update ws and @types/node, update code to match. (#942)
brendandburns Dec 21, 2022
1633b8b
Merge pull request #927 from brendandburns/release
k8s-ci-robot Dec 21, 2022
520e770
Merge pull request #940 from brendandburns/versions
k8s-ci-robot Dec 21, 2022
739dce1
Close the writestream before heading over to untar.
brendandburns Dec 22, 2022
f245c21
Remove execa usage.
brendandburns Dec 22, 2022
7457a05
Remove shelljs
brendandburns Dec 22, 2022
77a6edd
Fix formatting.
brendandburns Dec 22, 2022
4631b83
Check status on copy to pod also.
brendandburns Dec 22, 2022
342738f
Fix formatting.
brendandburns Dec 23, 2022
1f76ee1
build(deps): bump @types/node from 18.11.17 to 18.11.18 (#950)
dependabot[bot] Dec 27, 2022
8769f6a
Merge pull request #943 from kubernetes-client/patch-2
k8s-ci-robot Dec 29, 2022
9b52857
Merge pull request #946 from kubernetes-client/execa
k8s-ci-robot Dec 29, 2022
43b2329
build(deps-dev): bump husky from 8.0.2 to 8.0.3
dependabot[bot] Jan 4, 2023
54430fa
take a copy of the environment and don't actually mutate it
edify42 Jan 4, 2023
8311eff
Merge pull request #953 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 4, 2023
e722309
lint/prettier bug!
edify42 Jan 4, 2023
a7b0347
Contribution note
anandfresh Jan 5, 2023
41b7916
Merge pull request #955 from edify42/master
k8s-ci-robot Jan 5, 2023
e7f8a4d
build(deps-dev): bump typedoc from 0.23.23 to 0.23.24
dependabot[bot] Jan 9, 2023
a2d15bf
build(deps-dev): bump prettier from 2.8.1 to 2.8.2
dependabot[bot] Jan 9, 2023
878788a
Merge pull request #957 from anandfresh/contributing
k8s-ci-robot Jan 9, 2023
007f13d
Merge pull request #959 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 9, 2023
0944e91
Merge pull request #960 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 9, 2023
56a84bd
build(deps-dev): bump nock from 13.2.9 to 13.3.0
dependabot[bot] Jan 11, 2023
fc68199
Merge pull request #961 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 11, 2023
e848e4d
update ingress example to NetworkingV1Api apiVersion
vBitza Jan 13, 2023
0f5706f
build(deps-dev): bump prettier from 2.8.2 to 2.8.3
dependabot[bot] Jan 16, 2023
7c3f4e1
Merge pull request #963 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 17, 2023
14b6d48
Merge pull request #962 from vBitza/feature/update-ingress-example
k8s-ci-robot Jan 17, 2023
e0127b4
Update informer.ts
andekande Jan 20, 2023
eb4d246
Update cache.ts
andekande Jan 20, 2023
57c6bfc
Update cache_test.ts
andekande Jan 20, 2023
f293107
Merge pull request #965 from andekande/master
k8s-ci-robot Jan 20, 2023
a45f53d
Add a workflow to perform releases.
brendanburns Sep 11, 2022
22e0b76
Merge pull request #873 from brendandburns/examples
k8s-ci-robot Jan 21, 2023
f2a0219
Fix push script to be able to run without input and skip tagging.
brendandburns Jan 21, 2023
e05b37c
Merge pull request #966 from brendandburns/examples
k8s-ci-robot Jan 21, 2023
263e3f5
Update release.yml
brendandburns Jan 21, 2023
2b3ad2c
Update release.yml
brendandburns Jan 21, 2023
4fa41dd
build(deps): bump openid-client from 5.3.1 to 5.3.2
dependabot[bot] Jan 23, 2023
11a0586
Merge pull request #967 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 25, 2023
2556a8f
build(deps): bump tslib from 2.4.1 to 2.5.0
dependabot[bot] Jan 27, 2023
481cdd2
Merge pull request #971 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Jan 27, 2023
288bdbd
build(deps-dev): bump typescript from 4.9.4 to 4.9.5
dependabot[bot] Jan 31, 2023
90d179d
Merge pull request #973 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Feb 1, 2023
d8dbc0e
build(deps): bump openid-client from 5.3.2 to 5.3.4
dependabot[bot] Feb 3, 2023
0213240
Merge pull request #976 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Feb 3, 2023
679e128
build(deps): bump openid-client from 5.3.4 to 5.4.0
dependabot[bot] Feb 6, 2023
85084a4
Merge pull request #978 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Feb 6, 2023
cfc60d8
build(deps): bump @types/node from 18.11.18 to 18.11.19 (#979)
dependabot[bot] Feb 8, 2023
7a9c1c5
build(deps): bump @types/node from 18.11.19 to 18.13.0 (#981)
dependabot[bot] Feb 8, 2023
1e10978
build(deps-dev): bump prettier from 2.8.3 to 2.8.4
dependabot[bot] Feb 9, 2023
6aa7539
Merge pull request #983 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Feb 9, 2023
cc8317b
build(deps-dev): bump typedoc from 0.23.24 to 0.23.25
dependabot[bot] Feb 13, 2023
998e631
feat: allow to set the cwd in `copyToPod` for use in tar
SayakMukhopadhyay Feb 15, 2023
2bb4ab7
feat: allow to set the cwd in `copyFromPod` for use in tar
SayakMukhopadhyay Feb 15, 2023
243ebb8
Merge pull request #985 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Feb 16, 2023
d3ed6dd
Merge pull request #989 from SayakMukhopadhyay/fix-987
k8s-ci-robot Feb 16, 2023
ed60422
add labels to PodMetrics interface
goenning Feb 23, 2023
f4f2ab2
fix: update gen commit to fix error with dubious repo
clintonmedbery Feb 23, 2023
2d907a0
Merge pull request #996 from goenning/go/fix-metrics-interface
k8s-ci-robot Feb 24, 2023
3e58c8d
Merge pull request #997 from clintonmedbery/clintonmedbery/fix/update…
k8s-ci-robot Feb 24, 2023
c8bcaa3
build(deps-dev): bump @types/tar from 6.1.3 to 6.1.4 (#992)
dependabot[bot] Feb 26, 2023
8b8ce1d
build(deps): bump @types/node from 18.13.0 to 18.14.1 (#998)
dependabot[bot] Feb 26, 2023
9b8b49b
build(deps-dev): bump typedoc from 0.23.25 to 0.23.26
dependabot[bot] Feb 27, 2023
279c748
build(deps): bump actions/setup-node from 2 to 3
dependabot[bot] Feb 27, 2023
b110d8f
Merge pull request #1001 from kubernetes-client/dependabot/github_act…
k8s-ci-robot Feb 27, 2023
9d1b24a
Merge pull request #999 from kubernetes-client/dependabot/npm_and_yar…
k8s-ci-robot Feb 27, 2023
4736874
build(deps): bump @types/node from 18.14.1 to 18.14.2 (#1000)
dependabot[bot] Feb 28, 2023
abeeeb3
feat: added types to `KubeConfig#loadFromOptions`
emeraldsanto Mar 2, 2023
3b28fed
fix: make `skipTLSVerify` optional
emeraldsanto Mar 3, 2023
b30b3b9
build(deps): bump @types/node from 18.14.2 to 18.14.4 (#1003)
dependabot[bot] Mar 4, 2023
1997dfd
Merge pull request #1002 from emeraldsanto/master
k8s-ci-robot Mar 4, 2023
3423e0e
build(deps): bump @types/node from 18.14.4 to 18.14.6 (#1005)
dependabot[bot] Mar 6, 2023
7d409ad
build(deps): bump @types/node from 18.14.6 to 18.15.0 (#1006)
dependabot[bot] Mar 11, 2023
a94691e
build(deps): bump @types/node from 18.15.0 to 18.15.2 (#1007)
dependabot[bot] Mar 14, 2023
07e40a1
build(deps): bump @types/node from 18.15.2 to 18.15.3 (#1009)
dependabot[bot] Mar 15, 2023
db9457a
build(deps-dev): bump jasmine from 4.5.0 to 4.6.0
dependabot[bot] Mar 16, 2023
f72d742
Merge pull request #1010 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 16, 2023
75a9053
build(deps-dev): bump typedoc from 0.23.26 to 0.23.27
dependabot[bot] Mar 17, 2023
a195b81
Merge pull request #1012 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 19, 2023
6272ed3
build(deps-dev): bump typedoc from 0.23.27 to 0.23.28
dependabot[bot] Mar 20, 2023
859594d
Merge pull request #1015 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 20, 2023
ac231f3
build(deps-dev): bump prettier from 2.8.4 to 2.8.6
dependabot[bot] Mar 22, 2023
3520057
fix: top running pods
mstruebing Mar 22, 2023
23e2d6f
Merge pull request #1018 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 23, 2023
e0a271b
Merge pull request #1019 from mstruebing/fix-top
k8s-ci-robot Mar 23, 2023
4595317
build(deps): bump @types/node from 18.15.3 to 18.15.5 (#1017)
dependabot[bot] Mar 23, 2023
30bdfed
build(deps): bump @types/node from 18.15.5 to 18.15.6 (#1021)
dependabot[bot] Mar 26, 2023
64a6d30
Update to Typescript 5.0.2, Upgrade husky to 8.0.3
dependabot[bot] Mar 26, 2023
b52f4dd
Fix push script to be able to run without input and skip tagging.
brendandburns Jan 21, 2023
43be054
Update release.yaml
brendanburns Mar 26, 2023
c601240
Update generate-javascript.yml
brendandburns Mar 26, 2023
b45fe00
Update generate-javascript.yml
brendandburns Mar 26, 2023
c03f940
build(deps-dev): bump prettier from 2.8.6 to 2.8.7
dependabot[bot] Mar 27, 2023
fba9cbe
build(deps): bump @types/node from 18.15.6 to 18.15.10 (#1027)
dependabot[bot] Mar 27, 2023
b8956f3
Update generate-javascript.yml
brendandburns Mar 27, 2023
c96fda0
Merge pull request #1028 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 27, 2023
6b42a07
Update generate-javascript.yml
brendandburns Mar 27, 2023
be59df9
Merge pull request #1026 from brendandburns/release
k8s-ci-robot Mar 28, 2023
6dddcd9
build(deps): bump @types/node from 18.15.10 to 18.15.11 (#1030)
dependabot[bot] Mar 29, 2023
7a85b9c
Merge pull request #1025 from brendandburns/npm
k8s-ci-robot Mar 29, 2023
372c43f
build(deps-dev): bump typescript from 5.0.2 to 5.0.3
dependabot[bot] Mar 31, 2023
27480cd
Merge pull request #1032 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 3, 2023
54c4ea1
build(deps-dev): bump typedoc from 0.23.28 to 0.24.1
dependabot[bot] Apr 10, 2023
7a23c7d
fix: casing of `applyToHttpsOptions`
mstruebing Apr 11, 2023
6915697
Merge pull request #1035 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 14, 2023
677520b
build(deps-dev): bump typescript from 5.0.3 to 5.0.4
dependabot[bot] Apr 14, 2023
f825f74
Merge pull request #1037 from mstruebing/mstruebing/fix/casing
k8s-ci-robot Apr 14, 2023
df27e32
build(deps-dev): bump typedoc from 0.24.1 to 0.24.4
dependabot[bot] Apr 17, 2023
f96c730
Merge pull request #1036 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 17, 2023
5e483cb
Merge pull request #1039 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 17, 2023
a77c940
build(deps): bump @types/node from 18.15.11 to 18.15.13 (#1043)
dependabot[bot] Apr 23, 2023
9c00233
build(deps-dev): bump typedoc from 0.24.4 to 0.24.6
dependabot[bot] Apr 24, 2023
2a52949
build(deps-dev): bump prettier from 2.8.7 to 2.8.8
dependabot[bot] Apr 24, 2023
abfbd19
build(deps): bump openid-client from 5.4.0 to 5.4.1
dependabot[bot] Apr 24, 2023
f0c24e6
build(deps): bump @types/node from 18.15.13 to 18.16.0 (#1048)
dependabot[bot] Apr 25, 2023
b070497
Merge pull request #1045 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 25, 2023
a97ff71
Merge pull request #1046 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 25, 2023
1bd78ac
Update dependabot.yml
brendandburns Apr 25, 2023
e0b687e
Merge pull request #1047 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 25, 2023
698549d
build(deps): bump @types/node from 18.16.0 to 18.16.1 (#1055)
dependabot[bot] Apr 26, 2023
bc63415
build(deps): bump openid-client from 5.4.1 to 5.4.2
dependabot[bot] Apr 26, 2023
d1464e3
Merge pull request #1056 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 28, 2023
d8b1686
build(deps-dev): bump nock from 13.3.0 to 13.3.1
dependabot[bot] Apr 28, 2023
afc2e66
Merge pull request #1061 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 29, 2023
1d86c97
build(deps): bump @types/node from 18.16.1 to 18.16.2 (#1060)
dependabot[bot] Apr 29, 2023
46abdff
build(deps-dev): bump @types/chai from 4.3.4 to 4.3.5 (#1064)
dependabot[bot] May 1, 2023
d8442a7
build(deps): bump @types/node from 18.16.2 to 18.16.3 (#1065)
dependabot[bot] May 1, 2023
53d23b4
build(deps): bump tar from 6.1.13 to 6.1.14
dependabot[bot] May 3, 2023
48b95d6
Merge pull request #1073 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 5, 2023
27a3d43
build(deps-dev): bump typedoc from 0.24.6 to 0.24.7
dependabot[bot] May 8, 2023
9d8293f
Merge pull request #1079 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 8, 2023
cdb761f
build(deps): bump @types/node from 18.16.3 to 20.1.1 (#1081)
dependabot[bot] May 11, 2023
93e1b33
build(deps-dev): bump @types/tar from 6.1.4 to 6.1.5 (#1085)
dependabot[bot] May 11, 2023
000db87
build(deps): bump @types/node from 20.1.1 to 20.1.3 (#1089)
dependabot[bot] May 12, 2023
541c882
build(deps-dev): bump jasmine from 4.6.0 to 5.0.0
dependabot[bot] May 15, 2023
485d612
Merge pull request #1093 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 16, 2023
df33935
build(deps): bump @types/node from 20.1.3 to 20.1.7 (#1098)
dependabot[bot] May 17, 2023
362ccdc
build(deps): bump tar from 6.1.14 to 6.1.15
dependabot[bot] May 18, 2023
b7ddf47
build(deps): bump tslib from 2.5.0 to 2.5.1
dependabot[bot] May 18, 2023
4f18d1e
build(deps): bump @types/node from 20.1.7 to 20.2.0 (#1100)
dependabot[bot] May 18, 2023
26dfedf
Merge pull request #1101 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 18, 2023
e490483
Merge pull request #1102 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 18, 2023
abb5f94
build(deps): bump tslib from 2.5.1 to 2.5.2
dependabot[bot] May 19, 2023
862f478
build(deps): bump @types/node from 20.2.0 to 20.2.1 (#1104)
dependabot[bot] May 19, 2023
014e8dc
Merge pull request #1105 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 19, 2023
518aa02
build(deps-dev): bump @types/underscore from 1.11.4 to 1.11.5 (#1110)
dependabot[bot] May 30, 2023
3f117a3
build(deps): bump @types/node from 20.2.1 to 20.2.5 (#1111)
dependabot[bot] May 30, 2023
e3d37bb
build(deps): bump JamesIves/github-pages-deploy-action (#1112)
dependabot[bot] May 30, 2023
f0b0cf1
build(deps): bump tslib from 2.5.2 to 2.5.3
dependabot[bot] Jun 5, 2023
90dfbe6
build(deps-dev): bump typedoc from 0.24.7 to 0.24.8
dependabot[bot] Jun 5, 2023
3792e2b
Merge pull request #1117 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 6, 2023
92c575b
Merge pull request #1118 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 6, 2023
7492309
build(deps-dev): bump typescript from 5.0.4 to 5.1.3
dependabot[bot] Jun 6, 2023
5178528
Merge pull request #1116 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 7, 2023
c0f0565
build(deps-dev): bump jasmine from 5.0.0 to 5.0.1
dependabot[bot] Jun 12, 2023
a9721b7
Merge pull request #1123 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 13, 2023
807313b
build(deps): bump @types/node from 20.2.5 to 20.3.1 (#1124)
dependabot[bot] Jun 13, 2023
2e07a29
build(deps-dev): bump jasmine from 5.0.1 to 5.0.2
dependabot[bot] Jun 19, 2023
eeb7a92
Merge pull request #1128 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 19, 2023
e91229e
Update ws and @types/ws w/ code fixes (#1129)
brendandburns Jun 20, 2023
eb729a5
build(deps): bump tslib from 2.5.3 to 2.6.0
dependabot[bot] Jun 27, 2023
d554883
Merge pull request #1141 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 27, 2023
7f8f511
build(deps-dev): bump typescript from 5.1.3 to 5.1.5
dependabot[bot] Jun 28, 2023
2393af9
build(deps): bump @types/node from 20.3.1 to 20.3.2 (#1142)
dependabot[bot] Jun 28, 2023
5e61cdd
Merge pull request #1145 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 28, 2023
90f16e4
build(deps-dev): bump typescript from 5.1.5 to 5.1.6
dependabot[bot] Jun 29, 2023
33d6dd3
Merge pull request #1147 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 30, 2023
82e6408
build(deps-dev): bump prettier from 2.8.8 to 3.0.0
dependabot[bot] Jul 6, 2023
b52497e
build(deps): bump openid-client from 5.4.2 to 5.4.3
dependabot[bot] Jul 7, 2023
7d0f7c4
Merge pull request #1153 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jul 7, 2023
ea9e71a
build(deps): bump @types/node from 20.3.2 to 20.4.0 (#1154)
dependabot[bot] Jul 7, 2023
f9b7263
Merge pull request #1157 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jul 7, 2023
94fec96
Remove underscore js
DavidIsa Jul 7, 2023
f1eff69
Fix for underscore js removal
DavidIsa Jul 8, 2023
5d0d2f5
build(deps): bump @types/node from 20.4.0 to 20.4.1 (#1161)
dependabot[bot] Jul 10, 2023
6a696fc
build(deps): bump JamesIves/github-pages-deploy-action
dependabot[bot] Jul 12, 2023
f3857d9
Fix formating
DavidIsa Jul 12, 2023
294b2d9
Merge pull request #1163 from kubernetes-client/dependabot/github_act…
k8s-ci-robot Jul 12, 2023
2c86ed0
Merge pull request #1158 from DavidIsa/master
k8s-ci-robot Jul 12, 2023
7d37209
Examples improvments
DavidIsa Jul 12, 2023
ba43bb6
build(deps-dev): bump nock from 13.3.1 to 13.3.2
dependabot[bot] Jul 14, 2023
278e306
Merge pull request #1164 from DavidIsa/master
k8s-ci-robot Jul 14, 2023
dbc6e1b
build(deps): bump @types/node from 20.4.1 to 20.4.2 (#1166)
dependabot[bot] Jul 14, 2023
c131168
Merge pull request #1168 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jul 14, 2023
7ec4253
Remove tmp-promise
DavidIsa Jul 17, 2023
c7951fc
Resolve PR comments
DavidIsa Jul 20, 2023
f9d127f
Fix generateTmpFileName
DavidIsa Jul 22, 2023
7910659
build(deps-dev): bump jasmine from 5.0.2 to 5.1.0
dependabot[bot] Jul 24, 2023
cbb239a
build(deps): bump @types/node from 20.4.2 to 20.4.4 (#1177)
dependabot[bot] Jul 24, 2023
06c7ffa
Merge pull request #1178 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jul 24, 2023
387ef9e
build(deps): bump tslib from 2.6.0 to 2.6.1
dependabot[bot] Jul 25, 2023
ee0ced1
Merge pull request #1179 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jul 26, 2023
9e8d36f
build(deps): bump @types/node from 20.4.4 to 20.4.5 (#1183)
dependabot[bot] Jul 26, 2023
38cd517
Merge pull request #1169 from DavidIsa/rm-tmp-promise
k8s-ci-robot Jul 28, 2023
8806b10
Add pre-release option to gh action workflow.
brendandburns Aug 3, 2023
b708324
Merge pull request #1187 from brendandburns/release
k8s-ci-robot Aug 3, 2023
1f6f2d8
build(deps-dev): bump prettier from 3.0.0 to 3.0.1
dependabot[bot] Aug 4, 2023
d5e1592
Merge pull request #1192 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Aug 7, 2023
849a6a7
build(deps): bump @types/node from 20.4.5 to 20.4.8 (#1194)
dependabot[bot] Aug 8, 2023
f72a74e
build(deps): bump @types/node from 20.4.8 to 20.4.9 (#1196)
dependabot[bot] Aug 9, 2023
400e766
build(deps): bump @types/node from 20.4.9 to 20.5.0 (#1199)
dependabot[bot] Aug 14, 2023
6ec68a2
build(deps-dev): bump prettier from 3.0.1 to 3.0.2
dependabot[bot] Aug 16, 2023
0002c3e
Merge pull request #1201 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Aug 16, 2023
c59d22a
build(deps-dev): bump nock from 13.3.2 to 13.3.3
dependabot[bot] Aug 17, 2023
458b863
Merge pull request #1203 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Aug 17, 2023
42e4825
build(deps): bump tslib from 2.6.1 to 2.6.2
dependabot[bot] Aug 21, 2023
3456ace
build(deps): bump @types/node from 20.5.0 to 20.5.1 (#1210)
dependabot[bot] Aug 21, 2023
55d36ce
Merge pull request #1211 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Aug 21, 2023
8788bfb
Automated openapi generation from release-1.27
Aug 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
time: "02:00"
- package-ecosystem: "npm"
directory: "/"
target-branch: "release-1.x"
schedule:
interval: "daily"
time: "01:00"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "03:00"
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -51,7 +51,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -65,4 +65,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14.x'
# Pre-check to validate that versions match between package.json
Expand All @@ -23,7 +23,7 @@ jobs:
run: npm run docs

- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
77 changes: 77 additions & 0 deletions .github/workflows/generate-javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Generate

on:
workflow_dispatch:
inputs:
kubernetesBranch:
type: string
required: true
description: 'The remote kubernetes release branch to fetch openapi spec. .e.g. "release-1.23"'
genCommit:
type: string
required: true
default: 'b32dcd6'
description: 'The commit to use for the kubernetes-client/gen repo'


jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout Javascript
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Checkout Gen
run: |
git clone https://github.com/kubernetes-client/gen
pushd gen
git checkout "${{ github.event.inputs.genCommit }}"
# apply https://github.com/kubernetes-client/gen/pull/224
git config --global user.name "Github Actions"
git config --global user.email "<>"
git cherry-pick --strategy=recursive -X theirs c557f7f
rm -rf gen/.git
- name: Generate Branch Name
run: |
SUFFIX=$(openssl rand -hex 4)
echo "BRANCH=automated-generate-$SUFFIX" >> $GITHUB_ENV
- name: Generate Openapi
run: |
pushd gen/openapi
cat <<"EOF"> settings
# kubernetes-client/gen commit to use for code generation.
export GEN_COMMIT="${{ github.event.inputs.genCommit }}"
# GitHub username/organization to clone kubernetes repo from.
export USERNAME=kubernetes
# Kubernetes branch/tag to get the OpenAPI spec from.
export KUBERNETES_BRANCH="${{ github.event.inputs.kubernetesBranch }}"
# client version for packaging and releasing. It can
# be different than SPEC_VERSION.
export CLIENT_VERSION="0.8-SNAPSHOT"
# Name of the release package
export PACKAGE_NAME="@kubernetes/node-client"
export OPENAPI_GENERATOR_COMMIT=1314e229
EOF
bash typescript.sh ../../src/gen settings
popd
cp settings ../../settings
rm -rf gen
- name: Commit and push
run: |
# Commit and push
git config user.email "[email protected]"
git config user.name "Kubernetes Prow Robot"
git checkout -b "$BRANCH"
git add .
git commit -s -m 'Automated openapi generation from ${{ github.event.inputs.kubernetesBranch }}'
git push origin "$BRANCH"
- name: Pull Request
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ env.BRANCH }}
destination_branch: ${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_title: "Automated Generate from openapi ${{ github.event.inputs.kubernetesBranch }}"
61 changes: 61 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Release

on:
workflow_dispatch:
inputs:
releaseVersion:
type: string
required: true
description: The version of this release. Must be a semantic version of the form X.Y.Z.
dry_run:
type: boolean
required: true
default: false
description: Dry run, will not push branches or upload the artifacts.
pre_release:
type: boolean
required: true
default: false
description: If true, push pre-release tag.
skip_tag:
type: boolean
required: true
default: false
description: If true, don't tag this release, just push it.

jobs:
release:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Javascript
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Package
run: ./build-package.sh
- name: Upload
if: ${{ github.event.inputs.dry_run != 'true' && github.event.inputs.pre_release != 'true' }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Upload pre-release
if: ${{ github.event.inputs.dry_run != 'true' && github.event.inputs.pre_release == 'true' }}
run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Tag release
if: ${{ github.event.inputs.skip_tag != 'true' }}
run: |
git config --global user.name 'Github Bot'
git config --global user.email '<>'
git tag -a ${{ github.events.inputs.version }}
- name: Push tag
if: ${{ github.event.inputs.dry_run != 'true' }}
run: |
git push ${{ github.events.inputs.version }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16', '14', '12' ]
node: [ '18', '16', '14' ]
name: Node ${{ matrix.node }} validation
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
# Pre-check to validate that versions match between package.json
Expand Down
11 changes: 11 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
// Specify "require" for CommonJS
"require": "ts-node/register",
"extensions": ["ts"],
"spec": [
"src/**/*_test.ts"
],
"watch-files": [
"src"
]
}
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ We'd love to accept your patches! Before we can accept them you need to sign Clo
## Reporting an issue
If you have any problem with the package or any suggestions, please file an [issue](https://github.com/kubernetes-client/javascript/issues).

Note: Before raising a new issue, please do check the existing issues and make sure it is not a duplicate one.

## Contributing a Patch
1. Submit an issue describing your proposed change to the repo.
2. Fork this repo, develop and test your code changes.
Expand Down
43 changes: 21 additions & 22 deletions FETCH_MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Fetch was selected as the new HTTP request library for this project due to its w

For more details see the initial discussion ([#754](https://github.com/kubernetes-client/javascript/issues/754)).

Edit 02/2022:

Since the OpenApiGenerator project is targeting a single `typescript` generator (instead of individual networking flavors eg: typescript-fetch, typescript-axios) that includes node-fetch support, the initial plans to import and inject node-fetch is no longer optimal.

The proposed changes have been implemented on the new `typescript` generator which includes changes to the authentication and authorization interface that now uses a `RequestContext` object instead of directly allowing access to the https request options. In order to bridge the existing javascript client auth methods, additional exposure via custom SecurityAuthentication support has [been merged](https://github.com/OpenAPITools/openapi-generator/pull/11321) into the typescript generator.


## Release cycle

The fetch generator will create breaking changes to this project's API. Consumers will have to make small modifications to their code to upgrade.
Expand Down Expand Up @@ -40,31 +47,23 @@ Code will be on the `master` branch.
### Other repositories

- [x] Update [kubernetes-client/gen](https://github.com/kubernetes-client/gen)'s typescript-fetch files to let us pass in the `typescriptThreePlus` config option <sup>[1](https://github.com/OpenAPITools/openapi-generator/issues/9973) [2](https://github.com/OpenAPITools/openapi-generator/issues/3869#issuecomment-584152932)</sub>
- [ ] Update [openapi-generator](https://github.com/OpenAPITools/openapi-generator)'s typescript-fetch flavor to mark parameters as optional if all parameters are optional <sup>[3](https://github.com/OpenAPITools/openapi-generator/issues/6440)</sup>
- [x] Update [openapi-generator](https://github.com/OpenAPITools/openapi-generator)'s typescript-fetch flavor to mark parameters as optional if all parameters are optional <sup>[3](https://github.com/OpenAPITools/openapi-generator/issues/6440)</sup>

### Kubernetes-client repository

- [ ] Increment `OPENAPI_GENERATOR_COMMIT` to be [version 5.3.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.3.0) (with the optional parameters addition)
- [ ] `npm install node-fetch` to install node-fetch
- [ ] Switch generate-client script to use typescript-fetch
- [ ] Import and inject node-fetch in `src/api.ts` with the following

```typescript
import fetch from 'node-fetch';

// inject node-fetch
if (!globalThis.fetch) {
// @ts-ignore
globalThis.fetch = fetch;
globalThis.Headers = Headers;
globalThis.Request = Request;
globalThis.Response = Response;
}
```

- [ ] Generate api with `npm run generate`
- [ ] Match src/gen/api.ts to new generated layout (it changes slightly)
- [ ] Fix errors in /src folder (due to new api)
- [x] Increment `OPENAPI_GENERATOR_COMMIT` to be [version 5.3.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.3.0) (with the optional parameters addition)
- [x] `npm install node-fetch` to install node-fetch
- [ ] ~~Switch generate-client script to use typescript-fetch~~ (see edit 02/2022)
- [ ] ~~Import and inject node-fetch in `src/api.ts`~~ (see edit 02/2022)

- [x] Generate api with `npm run generate`
- [x] Match src/gen/api.ts to new generated layout (it changes slightly)

- [ ] Fix errors in /src folder (due to new generated api)
- [ ] Migrate watch.ts to use node-fetch
- [ ] Migrate log.ts to use node-fetch
- [ ] Migrate metrics.ts to use node-fetch
- [ ] Migrate HttpError Usage to HttpException (following new OpenApiGen convention)
- [ ] Fix errors in test (due to new api)
- [ ] Test all features
- [ ] Fix examples (due to new api)
Expand Down
Loading