Skip to content

Commit

Permalink
chore: kfc release-candidate for http2 watch (#1239)
Browse files Browse the repository at this point in the history
## Description

This is an RC for testing in UDS Core staging env. It adds the KFC
dependency update and updates the `WatchCfg`


## Related Issue

Fixes #1229 
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging
- [x] Unit,
[Journey](https://github.com/defenseunicorns/pepr/tree/main/journey),
[E2E Tests](https://github.com/defenseunicorns/pepr-excellent-examples),
[docs](https://github.com/defenseunicorns/pepr/tree/main/docs),
[adr](https://github.com/defenseunicorns/pepr/tree/main/adr) added or
updated as needed
- [x] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed

Signed-off-by: Case Wylie <cmwylie19@defenseunicorns.com>
  • Loading branch information
cmwylie19 authored Oct 8, 2024
1 parent 228a6a7 commit 14b607b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"express": "4.21.0",
"fast-json-patch": "3.1.1",
"json-pointer": "^0.6.2",
"kubernetes-fluent-client": "3.0.4",
"kubernetes-fluent-client": "4.0.0-rc-http2-watch",
"pino": "9.4.0",
"pino-pretty": "11.2.2",
"prom-client": "15.1.3",
Expand Down
1 change: 1 addition & 0 deletions src/lib/watch-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export function getOrCreateQueue(obj: KubernetesObject) {

// Watch configuration
const watchCfg: WatchCfg = {
useHTTP2: process.env.PEPR_HTTP2_WATCH === "true",
resyncFailureMax: process.env.PEPR_RESYNC_FAILURE_MAX ? parseInt(process.env.PEPR_RESYNC_FAILURE_MAX, 10) : 5,
resyncDelaySec: process.env.PEPR_RESYNC_DELAY_SECONDS ? parseInt(process.env.PEPR_RESYNC_DELAY_SECONDS, 10) : 5,
lastSeenLimitSeconds: process.env.PEPR_LAST_SEEN_LIMIT_SECONDS
Expand Down

0 comments on commit 14b607b

Please sign in to comment.