From 3ebae7bc1bc3e9c24cef2d239afc1d5f4261165c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 11 Dec 2024 09:25:02 -0700
Subject: [PATCH] chore(deps): update pepr (#1095)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
| [lint-staged](https://redirect.github.com/lint-staged/lint-staged) |
[`15.2.10` ->
`15.2.11`](https://renovatebot.com/diffs/npm/lint-staged/15.2.10/15.2.11)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.10/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.10/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [pepr](https://redirect.github.com/defenseunicorns/pepr) | [`0.40.1`
-> `0.42.0`](https://renovatebot.com/diffs/npm/pepr/0.40.1/0.42.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pepr/0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pepr/0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pepr/0.40.1/0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pepr/0.40.1/0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
|
[registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller](https://redirect.github.com/defenseunicorns/pepr)
([source](https://repo1.dso.mil/dsop/opensource/defenseunicorns/pepr/controller))
| `v0.40.1` -> `v0.42.0` |
[![age](https://developer.mend.io/api/mc/badges/age/docker/registry1.dso.mil%2fironbank%2fopensource%2fdefenseunicorns%2fpepr%2fcontroller/v0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/docker/registry1.dso.mil%2fironbank%2fopensource%2fdefenseunicorns%2fpepr%2fcontroller/v0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/docker/registry1.dso.mil%2fironbank%2fopensource%2fdefenseunicorns%2fpepr%2fcontroller/v0.40.1/v0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/registry1.dso.mil%2fironbank%2fopensource%2fdefenseunicorns%2fpepr%2fcontroller/v0.40.1/v0.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| | minor |
---
### Release Notes
lint-staged/lint-staged (lint-staged)
###
[`v15.2.11`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#15211)
[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.10...v15.2.11)
##### Patch Changes
-
[#1484](https://redirect.github.com/lint-staged/lint-staged/pull/1484)
[`bcfe309`](https://redirect.github.com/lint-staged/lint-staged/commit/bcfe309fca88aedf42b6a321383de49eb361c5a0)
Thanks [@wormsik](https://redirect.github.com/wormsik)! - Escape
paths containing spaces when using the "shell" option.
-
[#1487](https://redirect.github.com/lint-staged/lint-staged/pull/1487)
[`7dd8caa`](https://redirect.github.com/lint-staged/lint-staged/commit/7dd8caa8f80fe1a6ce40939c1224b6774000775a)
Thanks [@iiroj](https://redirect.github.com/iiroj)! - Do not
treat submodule root paths as "staged files". This caused *lint-staged*
to fail to a Git error when only updating the revision of a submodule.
defenseunicorns/pepr (pepr)
###
[`v0.42.0`](https://redirect.github.com/defenseunicorns/pepr/releases/tag/v0.42.0)
[Compare
Source](https://redirect.github.com/defenseunicorns/pepr/compare/v0.40.1...v0.42.0)
#### Note 🧾
This sprint, the Pepr team focused on enhancing our typing system to
improve consistency and address edge cases where types were less robust.
We also made significant improvements to our network posture through the
KFC, which may impact end users who are strongly typing fetch
configurations. These changes extend to all interactions with the
Kubernetes API server through CRUD operations that Pepr uses to
communicate with the kube-apiserver. While this release has been
thoroughly tested and soak, we recommend proceeding with caution, as
progress sometimes introduces unforeseen challenges. Check the slack
announcement to see metrics related to this release.
*oversight, accidentally released 0.42.0 and skipped 0.41.0 - next
releases will be pair programmed to avoid this.*
#### Breaking Changes ⚠️
Pepr's fetch is powered by Undici. If you are using a specific
`RequestInit` options on the fetch, you need to migrate to Undici's
[RequestInit](https://redirect.github.com/nodejs/undici/blob/cac18e12a794800c6405ed633006cff44ca6f664/types/fetch.d.ts#L121)
(It is very similar). *This probably won't affect you if you are not
strongly typing your `RequestInit` [example in
journey/pepr-dev.ts](https://redirect.github.com/defenseunicorns/pepr/pull/1496/files).*
Here is an example:
```ts
let { fetch } = require("pepr");
const { Agent } = require("undici");
const postOpts = {
method: "POST",
body: JSON.stringify({
query: "query { joke {id joke permalink } }",
}),
headers: {
"Content-Type": "application/json; charset=UTF-8",
},
dispatcher: new Agent({
connect: {
rejectUnauthorized: false,
},
}),
};
(async () => {
let { data, ok } = await fetch(
"https://icanhazdadjoke.com/graphql",
postOpts,
);
if (ok) {
console.log(data.data.joke.joke);
} else {
console.log("Failed to fetch joke");
}
})();
```
This strengthens Pepr's ability to communicate with the Kubernetes
Control Plane and reduces transmit bandwidth.
#### Feat ⛰️
- feat: set prometheus cont type for Prometheus 3.0 by
[@btlghrants](https://redirect.github.com/btlghrants) in
[https://github.com/defenseunicorns/pepr/pull/1501](https://redirect.github.com/defenseunicorns/pepr/pull/1501)
#### What's Changed ♻️
- chore: use consistent enum property names between related enums by
[@samayer12](https://redirect.github.com/samayer12) in
[https://github.com/defenseunicorns/pepr/pull/1451](https://redirect.github.com/defenseunicorns/pepr/pull/1451)
- chore: adr for undici and status corrections by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1461](https://redirect.github.com/defenseunicorns/pepr/pull/1461)
- chore: merge queues by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1469](https://redirect.github.com/defenseunicorns/pepr/pull/1469)
- test: overlay requests/second onto load test graph by
[@btlghrants](https://redirect.github.com/btlghrants) in
[https://github.com/defenseunicorns/pepr/pull/1470](https://redirect.github.com/defenseunicorns/pepr/pull/1470)
- chore: fix merge group by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1471](https://redirect.github.com/defenseunicorns/pepr/pull/1471)
- chore: extract deployment check functions to new file for ease of
maintenance by
[@samayer12](https://redirect.github.com/samayer12) in
[https://github.com/defenseunicorns/pepr/pull/1472](https://redirect.github.com/defenseunicorns/pepr/pull/1472)
- test: make load test err msg explicit by
[@btlghrants](https://redirect.github.com/btlghrants) in
[https://github.com/defenseunicorns/pepr/pull/1478](https://redirect.github.com/defenseunicorns/pepr/pull/1478)
- chore: move filesystem operations to new file by
[@samayer12](https://redirect.github.com/samayer12) in
[https://github.com/defenseunicorns/pepr/pull/1482](https://redirect.github.com/defenseunicorns/pepr/pull/1482)
- chore: 24 roadmap update by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1479](https://redirect.github.com/defenseunicorns/pepr/pull/1479)
- chore: update contributor docs by
[@soltysh](https://redirect.github.com/soltysh) in
[https://github.com/defenseunicorns/pepr/pull/1491](https://redirect.github.com/defenseunicorns/pepr/pull/1491)
- refactor: resolve eslint warnings (max-statements, complexity) -
`src/lib/controller/index.ts` by
[@btlghrants](https://redirect.github.com/btlghrants) in
[https://github.com/defenseunicorns/pepr/pull/1486](https://redirect.github.com/defenseunicorns/pepr/pull/1486)
- chore: types in metrics by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1492](https://redirect.github.com/defenseunicorns/pepr/pull/1492)
- chore: fix all actions links by
[@soltysh](https://redirect.github.com/soltysh) in
[https://github.com/defenseunicorns/pepr/pull/1499](https://redirect.github.com/defenseunicorns/pepr/pull/1499)
- chore: updates for undici fetch by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1496](https://redirect.github.com/defenseunicorns/pepr/pull/1496)
- chore: storage return types by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1507](https://redirect.github.com/defenseunicorns/pepr/pull/1507)
- chore: update subscribers every second by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1502](https://redirect.github.com/defenseunicorns/pepr/pull/1502)
- chore: return types on schedule by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1505](https://redirect.github.com/defenseunicorns/pepr/pull/1505)
- refactor: resolve eslint warnings (max-statements, complexity) -
`src/lib/assets/index.ts` by
[@btlghrants](https://redirect.github.com/btlghrants) in
[https://github.com/defenseunicorns/pepr/pull/1497](https://redirect.github.com/defenseunicorns/pepr/pull/1497)
- chore(ts): add typing to adjudicators used in validation and mutation
processing by [@samayer12](https://redirect.github.com/samayer12)
in
[https://github.com/defenseunicorns/pepr/pull/1402](https://redirect.github.com/defenseunicorns/pepr/pull/1402)
- chore: return types on sdk by
[@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1512](https://redirect.github.com/defenseunicorns/pepr/pull/1512)
- chore: store adjudicator code in adjudicators/ by
[@samayer12](https://redirect.github.com/samayer12) in
[https://github.com/defenseunicorns/pepr/pull/1517](https://redirect.github.com/defenseunicorns/pepr/pull/1517)
- chore: reduce verbosity of logs by eliminating for metric and health
by [@cmwylie19](https://redirect.github.com/cmwylie19) in
[https://github.com/defenseunicorns/pepr/pull/1519](https://redirect.github.com/defenseunicorns/pepr/pull/1519)
- test: validate `pepr build` generates a `helm install`-able chart by
[@btlghrants](https://redirect.github.com/btlghrants) in
[https://github.com/defenseunicorns/pepr/pull/1520](https://redirect.github.com/defenseunicorns/pepr/pull/1520)
- chore: move `lib/` code related to data collection to `lib/telemetry`
by [@samayer12](https://redirect.github.com/samayer12) in
[https://github.com/defenseunicorns/pepr/pull/1522](https://redirect.github.com/defenseunicorns/pepr/pull/1522)
- chore: bump codecov/codecov-action from 5.0.7 to 5.1.1 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1523](https://redirect.github.com/defenseunicorns/pepr/pull/1523)
- chore: bump trufflesecurity/trufflehog from 3.84.2 to 3.85.0 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1524](https://redirect.github.com/defenseunicorns/pepr/pull/1524)
- chore: bump express from 4.21.1 to 4.21.2 in the
production-dependencies group by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1525](https://redirect.github.com/defenseunicorns/pepr/pull/1525)
- chore: bump actions/dependency-review-action from 4.4.0 to 4.5.0 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1464](https://redirect.github.com/defenseunicorns/pepr/pull/1464)
- chore: bump github/codeql-action from 3.27.4 to 3.27.5 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1463](https://redirect.github.com/defenseunicorns/pepr/pull/1463)
- chore: bump codecov/codecov-action from 5.0.3 to 5.0.6 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1462](https://redirect.github.com/defenseunicorns/pepr/pull/1462)
- chore: bump anchore/scan-action from 5.2.1 to 5.3.0 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1476](https://redirect.github.com/defenseunicorns/pepr/pull/1476)
- chore: bump anchore/sbom-action from 0.17.7 to 0.17.8 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1475](https://redirect.github.com/defenseunicorns/pepr/pull/1475)
- chore: bump codecov/codecov-action from 5.0.6 to 5.0.7 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1474](https://redirect.github.com/defenseunicorns/pepr/pull/1474)
- chore: bump trufflesecurity/trufflehog from 3.83.7 to 3.84.0 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1473](https://redirect.github.com/defenseunicorns/pepr/pull/1473)
- chore: bump trufflesecurity/trufflehog from 3.84.0 to 3.84.1 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1487](https://redirect.github.com/defenseunicorns/pepr/pull/1487)
- chore: bump
[@types/node](https://redirect.github.com/types/node) from 22.9.1
to 22.9.4 in the development-dependencies group by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1488](https://redirect.github.com/defenseunicorns/pepr/pull/1488)
- chore: bump
[@types/node](https://redirect.github.com/types/node) from 22.9.4
to 22.10.0 in the development-dependencies group by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1489](https://redirect.github.com/defenseunicorns/pepr/pull/1489)
- chore: bump
[@types/node](https://redirect.github.com/types/node) from
22.10.0 to 22.10.1 in the development-dependencies group by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1490](https://redirect.github.com/defenseunicorns/pepr/pull/1490)
- chore: bump trufflesecurity/trufflehog from 3.84.1 to 3.84.2 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1504](https://redirect.github.com/defenseunicorns/pepr/pull/1504)
- chore: bump github/codeql-action from 3.27.5 to 3.27.6 by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1503](https://redirect.github.com/defenseunicorns/pepr/pull/1503)
- chore: bump kubernetes-fluent-client from 3.3.6 to 3.3.7 in the
production-dependencies group by
[@dependabot](https://redirect.github.com/dependabot) in
[https://github.com/defenseunicorns/pepr/pull/1508](https://redirect.github.com/defenseunicorns/pepr/pull/1508)
**Full Changelog**:
https://github.com/defenseunicorns/pepr/compare/v0.40.1...v0.42.0
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/defenseunicorns/uds-core).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micah Nagel
---
package-lock.json | 104 +++++++++++-------
package.json | 4 +-
.../controllers/keycloak/client-sync.ts | 4 +-
tasks/create.yaml | 2 +-
4 files changed, 67 insertions(+), 47 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c8f28d55f..ae6b3ebe4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,13 +8,13 @@
"name": "uds-core",
"version": "0.5.0",
"dependencies": {
- "pepr": "0.40.1"
+ "pepr": "0.42.0"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"husky": "9.1.7",
"jest": "29.7.0",
- "lint-staged": "15.2.10",
+ "lint-staged": "15.2.11",
"ts-jest": "29.2.5"
},
"engines": {
@@ -2814,9 +2814,10 @@
}
},
"node_modules/debug": {
- "version": "4.3.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
- "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
+ "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
+ "license": "MIT",
"dependencies": {
"ms": "^2.1.3"
},
@@ -3398,9 +3399,9 @@
}
},
"node_modules/express": {
- "version": "4.21.1",
- "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz",
- "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==",
+ "version": "4.21.2",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
+ "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
"license": "MIT",
"dependencies": {
"accepts": "~1.3.8",
@@ -3422,7 +3423,7 @@
"methods": "~1.1.2",
"on-finished": "2.4.1",
"parseurl": "~1.3.3",
- "path-to-regexp": "0.1.10",
+ "path-to-regexp": "0.1.12",
"proxy-addr": "~2.0.7",
"qs": "6.13.0",
"range-parser": "~1.2.1",
@@ -3437,6 +3438,10 @@
},
"engines": {
"node": ">= 0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
}
},
"node_modules/express/node_modules/debug": {
@@ -5140,9 +5145,9 @@
}
},
"node_modules/kubernetes-fluent-client": {
- "version": "3.3.4",
- "resolved": "https://registry.npmjs.org/kubernetes-fluent-client/-/kubernetes-fluent-client-3.3.4.tgz",
- "integrity": "sha512-PQc6ZfdkTXVIoIXxN9Gkh8lpyDfw0CjecYrLzR5atinhnaWXD9FKZaay87XsKR2tdyryEVJHv1MsQtgCXaxMtA==",
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/kubernetes-fluent-client/-/kubernetes-fluent-client-3.3.7.tgz",
+ "integrity": "sha512-KBgt2tQ76CfrDd8aig1xrCIcazztARdTYsqHH1//DctbUEB++2yz+KYR9CYBisSySDS625e86MVfxIB63R77hw==",
"license": "Apache-2.0",
"dependencies": {
"@kubernetes/client-node": "1.0.0-rc7",
@@ -5150,8 +5155,8 @@
"http-status-codes": "2.3.0",
"node-fetch": "2.7.0",
"quicktype-core": "23.0.170",
- "type-fest": "4.27.0",
- "undici": "6.21.0",
+ "type-fest": "4.30.0",
+ "undici": "7.1.0",
"yargs": "17.7.2"
},
"bin": {
@@ -5162,9 +5167,9 @@
}
},
"node_modules/kubernetes-fluent-client/node_modules/type-fest": {
- "version": "4.27.0",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.27.0.tgz",
- "integrity": "sha512-3IMSWgP7C5KSQqmo1wjhKrwsvXAtF33jO3QY+Uy++ia7hqvgSK6iXbbg5PbDBc1P2ZbNEDgejOrN4YooXvhwCw==",
+ "version": "4.30.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.0.tgz",
+ "integrity": "sha512-G6zXWS1dLj6eagy6sVhOMQiLtJdxQBHIA9Z6HFUNLOlr6MFOgzV8wvmidtPONfPtEUv0uZsy77XJNzTAfwPDaA==",
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=16"
@@ -5196,10 +5201,11 @@
}
},
"node_modules/lilconfig": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz",
- "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=14"
},
@@ -5214,21 +5220,22 @@
"dev": true
},
"node_modules/lint-staged": {
- "version": "15.2.10",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.10.tgz",
- "integrity": "sha512-5dY5t743e1byO19P9I4b3x8HJwalIznL5E1FWYnU6OWw33KxNBSLAc6Cy7F2PsFEO8FKnLwjwm5hx7aMF0jzZg==",
+ "version": "15.2.11",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.11.tgz",
+ "integrity": "sha512-Ev6ivCTYRTGs9ychvpVw35m/bcNDuBN+mnTeObCL5h+boS5WzBEC6LHI4I9F/++sZm1m+J2LEiy0gxL/R9TBqQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"chalk": "~5.3.0",
"commander": "~12.1.0",
- "debug": "~4.3.6",
+ "debug": "~4.4.0",
"execa": "~8.0.1",
- "lilconfig": "~3.1.2",
- "listr2": "~8.2.4",
+ "lilconfig": "~3.1.3",
+ "listr2": "~8.2.5",
"micromatch": "~4.0.8",
"pidtree": "~0.6.0",
"string-argv": "~0.3.2",
- "yaml": "~2.5.0"
+ "yaml": "~2.6.1"
},
"bin": {
"lint-staged": "bin/lint-staged.js"
@@ -5245,6 +5252,7 @@
"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
"integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
@@ -5257,6 +5265,7 @@
"resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
"integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.3",
"get-stream": "^8.0.1",
@@ -5280,6 +5289,7 @@
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
"integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=16"
},
@@ -5292,6 +5302,7 @@
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
"integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
"dev": true,
+ "license": "Apache-2.0",
"engines": {
"node": ">=16.17.0"
}
@@ -5301,6 +5312,7 @@
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
"integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
@@ -5313,6 +5325,7 @@
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
"integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=12"
},
@@ -5325,6 +5338,7 @@
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
"integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"path-key": "^4.0.0"
},
@@ -5340,6 +5354,7 @@
"resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
"integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"mimic-fn": "^4.0.0"
},
@@ -5355,6 +5370,7 @@
"resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
"integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=12"
},
@@ -5367,6 +5383,7 @@
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
"dev": true,
+ "license": "ISC",
"engines": {
"node": ">=14"
},
@@ -5379,6 +5396,7 @@
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
"integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=12"
},
@@ -6321,9 +6339,10 @@
}
},
"node_modules/path-to-regexp": {
- "version": "0.1.10",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz",
- "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w=="
+ "version": "0.1.12",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
+ "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
+ "license": "MIT"
},
"node_modules/path-type": {
"version": "4.0.0",
@@ -6335,18 +6354,18 @@
}
},
"node_modules/pepr": {
- "version": "0.40.1",
- "resolved": "https://registry.npmjs.org/pepr/-/pepr-0.40.1.tgz",
- "integrity": "sha512-Z+wXRYG64YUg3IhYGAOyrWdw5R8HD3/jtTYmVFtUN2x2isiB/X411DO6hd4TginxZvTnlfLyG6KBc8u6UScbbg==",
+ "version": "0.42.0",
+ "resolved": "https://registry.npmjs.org/pepr/-/pepr-0.42.0.tgz",
+ "integrity": "sha512-8SCXAmeTxQUM7Rzkcj46STHvUL7IzuuL9P+zZKP6v7nVYtFGVRnxx8Y7Eftt+N+I6ICjnHCzb190dHvtGm74bw==",
"license": "Apache-2.0",
"dependencies": {
"@types/ramda": "0.30.2",
- "express": "4.21.1",
+ "express": "4.21.2",
"fast-json-patch": "3.1.1",
"follow-redirects": "1.15.9",
"http-status-codes": "^2.3.0",
"json-pointer": "^0.6.2",
- "kubernetes-fluent-client": "3.3.4",
+ "kubernetes-fluent-client": "3.3.7",
"pino": "9.5.0",
"pino-pretty": "13.0.0",
"prom-client": "15.1.3",
@@ -7860,12 +7879,12 @@
}
},
"node_modules/undici": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.0.tgz",
- "integrity": "sha512-BUgJXc752Kou3oOIuU1i+yZZypyZRqNPW0vqoMPl8VaoalSfeR0D8/t4iAS3yirs79SSMTxTag+ZC86uswv+Cw==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.1.0.tgz",
+ "integrity": "sha512-3+mdX2R31khuLCm2mKExSlMdJsfol7bJkIMH80tdXA74W34rT1jKemUTlYR7WY3TqsV4wfOgpatWmmB2Jl1+5g==",
"license": "MIT",
"engines": {
- "node": ">=18.17"
+ "node": ">=20.18.1"
}
},
"node_modules/undici-types": {
@@ -8233,9 +8252,10 @@
"dev": true
},
"node_modules/yaml": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz",
- "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==",
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz",
+ "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==",
+ "license": "ISC",
"bin": {
"yaml": "bin.mjs"
},
diff --git a/package.json b/package.json
index 91228a39e..5e6bc9470 100644
--- a/package.json
+++ b/package.json
@@ -29,13 +29,13 @@
"k3d-setup": "k3d cluster delete pepr-dev && k3d cluster create pepr-dev --k3s-arg '--debug@server:0'"
},
"dependencies": {
- "pepr": "0.40.1"
+ "pepr": "0.42.0"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"husky": "9.1.7",
"jest": "29.7.0",
- "lint-staged": "15.2.10",
+ "lint-staged": "15.2.11",
"ts-jest": "29.2.5"
},
"jest": {
diff --git a/src/pepr/operator/controllers/keycloak/client-sync.ts b/src/pepr/operator/controllers/keycloak/client-sync.ts
index f92dea26f..0a25eead6 100644
--- a/src/pepr/operator/controllers/keycloak/client-sync.ts
+++ b/src/pepr/operator/controllers/keycloak/client-sync.ts
@@ -8,7 +8,7 @@ import { fetch, K8s, kind } from "pepr";
import { Component, setupLogger } from "../../../logger";
import { Store } from "../../common";
import { Sso, UDSPackage } from "../../crd";
-import { getOwnerRef, purgeOrphans, sanitizeResourceName } from "../utils";
+import { getOwnerRef, purgeOrphans, retryWithDelay, sanitizeResourceName } from "../utils";
import { Client, clientKeys } from "./types";
let apiURL =
@@ -173,7 +173,7 @@ async function syncClient(
// Write the new token to the store
try {
- await Store.setItemAndWait(name, client.registrationAccessToken!);
+ await retryWithDelay(() => Store.setItemAndWait(name, client.registrationAccessToken!), log);
} catch (err) {
throw Error(
`Failed to set token in store for client '${client.clientId}', package ` +
diff --git a/tasks/create.yaml b/tasks/create.yaml
index 4bf39be7f..2d7b10b33 100644
--- a/tasks/create.yaml
+++ b/tasks/create.yaml
@@ -11,7 +11,7 @@ variables:
- name: REGISTRY1_PEPR_IMAGE
# renovate: datasource=docker depName=registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller versioning=semver
- default: registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller:v0.40.1
+ default: registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller:v0.42.0
- name: LAYER