Skip to content

Commit d64e815

Browse files
authored
Merge pull request #971 from snyk/chore/lower-@kubernetes/client-node-version
chore: revert @kubernetes/client-node to v0.15.1
2 parents 5c85c1d + 297e2a6 commit d64e815

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"format:check": "prettier --check '{src,test}/**/*.{js,ts,json,yml}'"
3737
},
3838
"dependencies": {
39-
"@kubernetes/client-node": "^0.16.1",
39+
"@kubernetes/client-node": "^0.15.1",
4040
"@snyk/dep-graph": "^1.29.0",
4141
"async": "^3.2.2",
4242
"aws-sdk": "^2.1035.0",

src/supervisor/watchers/handlers/deployment-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export async function paginatedDeploymentConfigList(
4343
namespace,
4444
'deploymentconfigs',
4545
pretty,
46-
_allowWatchBookmarks,
4746
_continue,
4847
fieldSelector,
4948
labelSelector,

src/supervisor/watchers/handlers/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,8 @@ async function isSupportedWorkload(
134134
const continueToken = undefined;
135135
const fieldSelector = undefined;
136136
const labelSelector = undefined;
137-
const allowWatchBookmarks = undefined;
138137
const limit = 1; // Try to grab only a single object
139138
const resourceVersion = undefined; // List anything in the cluster
140-
const resourceVersionMatch = undefined;
141139
const timeoutSeconds = 10; // Don't block the snyk-monitor indefinitely
142140
const attemptedApiCall =
143141
await kubernetesApiWrappers.retryKubernetesApiRequest(() =>
@@ -147,13 +145,11 @@ async function isSupportedWorkload(
147145
namespace,
148146
'deploymentconfigs',
149147
pretty,
150-
allowWatchBookmarks,
151148
continueToken,
152149
fieldSelector,
153150
labelSelector,
154151
limit,
155152
resourceVersion,
156-
resourceVersionMatch,
157153
timeoutSeconds,
158154
),
159155
);

0 commit comments

Comments
 (0)