From 2ef0f96da7476b487d72d4bb7ce4bd50fdb0b182 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:26:39 -0600 Subject: [PATCH] chore(deps): update pepr (#324) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | [defenseunicorns/uds-common](https://togithub.com/defenseunicorns/uds-common) | | patch | `v0.3.2` -> `v0.3.10` | [![age](https://developer.mend.io/api/mc/badges/age/github-tags/defenseunicorns%2fuds-common/v0.3.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/defenseunicorns%2fuds-common/v0.3.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/defenseunicorns%2fuds-common/v0.3.2/v0.3.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/defenseunicorns%2fuds-common/v0.3.2/v0.3.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pepr](https://togithub.com/defenseunicorns/pepr) | dependencies | minor | [`0.28.7` -> `0.29.0`](https://renovatebot.com/diffs/npm/pepr/0.28.7/0.29.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pepr/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pepr/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pepr/0.28.7/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pepr/0.28.7/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller](https://togithub.com/defenseunicorns/pepr) ([source](https://repo1.dso.mil/dsop/opensource/defenseunicorns/pepr/controller)) | | minor | `v0.28.7` -> `v0.29.0` | [![age](https://developer.mend.io/api/mc/badges/age/docker/registry1.dso.mil%2fironbank%2fopensource%2fdefenseunicorns%2fpepr%2fcontroller/v0.29.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.29.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.28.7/v0.29.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.28.7/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
defenseunicorns/uds-common (defenseunicorns/uds-common) ### [`v0.3.10`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.10) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.9...v0.3.10) ##### Miscellaneous - add a full uds task and inputs ([#​95](https://togithub.com/defenseunicorns/uds-common/issues/95)) ([7e15fd2](https://togithub.com/defenseunicorns/uds-common/commit/7e15fd2ba4629ee1fae31e87f946ca32138df73c)) - add latest-bundle-release task ([#​97](https://togithub.com/defenseunicorns/uds-common/issues/97)) ([2662f6a](https://togithub.com/defenseunicorns/uds-common/commit/2662f6a697a97b2a202a128040a487f2d2e117d7)) - attempt to fix renovate ([#​98](https://togithub.com/defenseunicorns/uds-common/issues/98)) ([8155ecc](https://togithub.com/defenseunicorns/uds-common/commit/8155ecc62968e342110b0598a2d57de17b5e3914)) - **deps:** update uds common support dependencies ([#​101](https://togithub.com/defenseunicorns/uds-common/issues/101)) ([dfdf927](https://togithub.com/defenseunicorns/uds-common/commit/dfdf927b2367a0592a54fa8a97d4ee84e118e2e0)) - fix renovate env var rule overmatching ([#​99](https://togithub.com/defenseunicorns/uds-common/issues/99)) ([480497f](https://togithub.com/defenseunicorns/uds-common/commit/480497f4a72c3f25fcb87823c5902192d4e5befb)) - fix the renovate config github digest pinning ([#​100](https://togithub.com/defenseunicorns/uds-common/issues/100)) ([4603448](https://togithub.com/defenseunicorns/uds-common/commit/4603448ce94c22c614ec7e87b9520e9681e618e2)) ### [`v0.3.9`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.9) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.8...v0.3.9) ##### Miscellaneous - fix missing keys in setup actions ([#​93](https://togithub.com/defenseunicorns/uds-common/issues/93)) ([39d7395](https://togithub.com/defenseunicorns/uds-common/commit/39d73955ebb35f4e844a45fe23a7acf7d65d239a)) ### [`v0.3.8`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.8) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.7...v0.3.8) ##### Miscellaneous - add upgrade tests to common ([#​91](https://togithub.com/defenseunicorns/uds-common/issues/91)) ([bb2e590](https://togithub.com/defenseunicorns/uds-common/commit/bb2e59021355172db2cfcca7dbf5a2434ce41b6d)) - **deps:** update dependency defenseunicorns/uds-cli to v0.10.1 ([#​84](https://togithub.com/defenseunicorns/uds-common/issues/84)) ([6b455b7](https://togithub.com/defenseunicorns/uds-common/commit/6b455b7cef8ddab022c758a6309d8993f0a564b7)) - **deps:** update dependency defenseunicorns/uds-core to v0.17.0 ([#​83](https://togithub.com/defenseunicorns/uds-common/issues/83)) ([b8d8181](https://togithub.com/defenseunicorns/uds-common/commit/b8d818165c7c676f56898c2d15ae14a2f7ff5f0c)) - **deps:** update uds common package dependencies to v6.6.1 ([#​92](https://togithub.com/defenseunicorns/uds-common/issues/92)) ([862b635](https://togithub.com/defenseunicorns/uds-common/commit/862b63512b4b53ff963b85e25e8011818bb8e4e3)) - update registry login to happen in the common env setup action ([#​88](https://togithub.com/defenseunicorns/uds-common/issues/88)) ([b7bce88](https://togithub.com/defenseunicorns/uds-common/commit/b7bce888d1d62c5d382d7d88a54e59da72e0d3ae)) ### [`v0.3.7`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.7) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.6...v0.3.7) ##### Miscellaneous - remove schedule on renovate ([#​85](https://togithub.com/defenseunicorns/uds-common/issues/85)) ([fda7e57](https://togithub.com/defenseunicorns/uds-common/commit/fda7e57ad878cc70bf3905948911daa84c67db27)) - update k3d-core-istio-dev to k3d-core-slim-dev ([#​86](https://togithub.com/defenseunicorns/uds-common/issues/86)) ([aa0e6da](https://togithub.com/defenseunicorns/uds-common/commit/aa0e6dad40126ead465b102ea28a3ac961883493)) ### [`v0.3.6`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.6) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.5...v0.3.6) ##### Miscellaneous - hotfix the spoof containing a dash in the input and add a publish step ([#​81](https://togithub.com/defenseunicorns/uds-common/issues/81)) ([f9c7aac](https://togithub.com/defenseunicorns/uds-common/commit/f9c7aac4a30e5c3e627c44946f2f212af1573b39)) ### [`v0.3.5`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.5) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.4...v0.3.5) ##### Miscellaneous - fix spoof to not include a dash ([#​79](https://togithub.com/defenseunicorns/uds-common/issues/79)) ([5d1738b](https://togithub.com/defenseunicorns/uds-common/commit/5d1738ba0ca2cd19c7fdf6dfe6873339e129c3bb)) ### [`v0.3.4`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.4) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.3...v0.3.4) ##### Miscellaneous - add the ability to spoof to common ([#​77](https://togithub.com/defenseunicorns/uds-common/issues/77)) ([49634e1](https://togithub.com/defenseunicorns/uds-common/commit/49634e1b69c6b2eadcc2497f6baba8bd349f3d38)) - **deps:** update dependency defenseunicorns/uds-core to v0.16.1 ([#​72](https://togithub.com/defenseunicorns/uds-common/issues/72)) ([32d1ad6](https://togithub.com/defenseunicorns/uds-common/commit/32d1ad6812a3ef6ad750447296f5644b14ff2855)) ### [`v0.3.3`](https://togithub.com/defenseunicorns/uds-common/releases/tag/v0.3.3) [Compare Source](https://togithub.com/defenseunicorns/uds-common/compare/v0.3.2...v0.3.3) ##### Miscellaneous - add an explicit architecture input ([#​75](https://togithub.com/defenseunicorns/uds-common/issues/75)) ([15825d4](https://togithub.com/defenseunicorns/uds-common/commit/15825d44bbb53b90a22ff41eced5050d84ffa251))
defenseunicorns/pepr (pepr) ### [`v0.29.0`](https://togithub.com/defenseunicorns/pepr/releases/tag/v0.29.0) [Compare Source](https://togithub.com/defenseunicorns/pepr/compare/v0.28.8...v0.29.0) #### features - chore: create helper functions for pepr by [@​schaeferka](https://togithub.com/schaeferka) in [https://github.com/defenseunicorns/pepr/pull/688](https://togithub.com/defenseunicorns/pepr/pull/688) **getOwnerRefFrom** - get fields needed to create an owner ref ```ts // Create a deployment that is "owned" by the WebApp instance 👍 function deployment(instance: WebApp) { const { name, namespace } = instance.metadata!; const { replicas } = instance.spec!; return { apiVersion: "apps/v1", kind: "Deployment", metadata: { ownerReferences: getOwnerRefFrom(instance), // 👈 Instance owns deploymeny name, namespace, labels: { "pepr.dev/operator": name, }, }, ``` **containers** - Get all of the containers from a pod ```ts When(a.Pod) .IsCreatedOrUpdated() .Validate(po => { const podContainers = containers(po); // containers, initContainer, ephemeralContainers 👈 for (const container of podContainers) { if ( container.securityContext?.allowPrivilegeEscalation || container.securityContext?.privileged ) { return po.Deny("Privilege escalation is not allowed"); } } return po.Approve(); }); ``` **writeEvent** - write an event ```ts async function updateStatus(instance: WebApp, status: Status) { await writeEvent(instance, {phase: status}, "Normal", "CreatedOrUpdate", instance.metadata.name, instance.metadata.name); await K8s(WebApp).PatchStatus({ metadata: { name: instance.metadata!.name, namespace: instance.metadata!.namespace, }, status, }); } kubectl describe wa webapp-light-en -n webapps ### output Name: webapp-light-en Namespace: webapps API Version: pepr.io/v1alpha1 Kind: WebApp Metadata: ... Spec: Language: en Replicas: 1 Theme: light Status: Observed Generation: 1 Phase: Ready Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal InstanceCreatedOrUpdated 36s webapp-light-en Pending 👈 Normal InstanceCreatedOrUpdated 36s webapp-light-en Ready 👈 ``` Take a look at the [sdk functions](https://togithub.com/defenseunicorns/pepr/blob/main/src/sdk/sdk.ts). Good job [@​schaeferka](https://togithub.com/schaeferka) 👏 #### What's Changed - chore: onschedule runs always in dev mode by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/725](https://togithub.com/defenseunicorns/pepr/pull/725) - chore: update docs on the operator by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/726](https://togithub.com/defenseunicorns/pepr/pull/726) - chore: bump chainguard/node-lts from `cc860c4` to `8c5f0eb` by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/721](https://togithub.com/defenseunicorns/pepr/pull/721) - chore: bump [@​types/node](https://togithub.com/types/node) from 18.19.29 to 18.19.30 in the development-dependencies group by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/720](https://togithub.com/defenseunicorns/pepr/pull/720) **Full Changelog**: https://github.com/defenseunicorns/pepr/compare/v0.28.8...v0.29.0 ### [`v0.28.8`](https://togithub.com/defenseunicorns/pepr/releases/tag/v0.28.8) [Compare Source](https://togithub.com/defenseunicorns/pepr/compare/v0.28.7...v0.28.8) #### What's Changed - fix: switch to node-lts chainguard image by [@​jeff-mccoy](https://togithub.com/jeff-mccoy) in [https://github.com/defenseunicorns/pepr/pull/716](https://togithub.com/defenseunicorns/pepr/pull/716) - chore: update readme to have inclusive language by [@​schristoff](https://togithub.com/schristoff) in [https://github.com/defenseunicorns/pepr/pull/681](https://togithub.com/defenseunicorns/pepr/pull/681) - chore: update Contributor Guide Link by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/700](https://togithub.com/defenseunicorns/pepr/pull/700) - chore: excellent examples new path by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/709](https://togithub.com/defenseunicorns/pepr/pull/709) - chore: pipeline test by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/710](https://togithub.com/defenseunicorns/pepr/pull/710) - chore: test exception ci by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/707](https://togithub.com/defenseunicorns/pepr/pull/707) - chore: e2e integration by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/712](https://togithub.com/defenseunicorns/pepr/pull/712) - Excellent examples integration by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/713](https://togithub.com/defenseunicorns/pepr/pull/713) - chore: vulnerability scan by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/718](https://togithub.com/defenseunicorns/pepr/pull/718) - chore: testing the e2e test by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/defenseunicorns/pepr/pull/701](https://togithub.com/defenseunicorns/pepr/pull/701) - chore: bump the development-dependencies group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/705](https://togithub.com/defenseunicorns/pepr/pull/705) - chore: bump the production-dependencies group with 1 update by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/704](https://togithub.com/defenseunicorns/pepr/pull/704) - chore: bump actions/setup-node from 2 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/703](https://togithub.com/defenseunicorns/pepr/pull/703) - chore: bump actions/checkout from 2 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/702](https://togithub.com/defenseunicorns/pepr/pull/702) - chore: bump the development-dependencies group with 1 update by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/708](https://togithub.com/defenseunicorns/pepr/pull/708) - chore: bump actions/checkout from 4.1.1 to 4.1.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/defenseunicorns/pepr/pull/719](https://togithub.com/defenseunicorns/pepr/pull/719) #### New Contributors - [@​schristoff](https://togithub.com/schristoff) made their first contribution in [https://github.com/defenseunicorns/pepr/pull/681](https://togithub.com/defenseunicorns/pepr/pull/681) **Full Changelog**: https://github.com/defenseunicorns/pepr/compare/v0.28.7...v0.28.8
--- ### 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://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/defenseunicorns/uds-core). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 24 ++++++++++++------------ package.json | 2 +- tasks/create.yaml | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index c0adffaa9..7c16649da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "uds-core", "version": "0.4.0", "dependencies": { - "pepr": "0.28.7" + "pepr": "0.29.0" }, "devDependencies": { "@jest/globals": "29.7.0", @@ -1715,11 +1715,11 @@ } }, "node_modules/@types/ramda": { - "version": "0.29.11", - "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.29.11.tgz", - "integrity": "sha512-jm1+PmNOpE7aPS+mMcuB4a72VkCXUJqPSaQRu2YqR8MbsFfaowYXgKxc7bluYdDpRHNXT5Z+xu+Lgr3/ml6wSA==", + "version": "0.29.12", + "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.29.12.tgz", + "integrity": "sha512-sgIEjpJhdQPB52gDF4aphs9nl0xe54CR22DPdWqT8gQHjZYmVApgA0R3/CpMbl0Y8az2TEZrPNL2zy0EvjbkLA==", "dependencies": { - "types-ramda": "^0.29.9" + "types-ramda": "^0.29.10" } }, "node_modules/@types/semver": { @@ -5293,11 +5293,11 @@ } }, "node_modules/pepr": { - "version": "0.28.7", - "resolved": "https://registry.npmjs.org/pepr/-/pepr-0.28.7.tgz", - "integrity": "sha512-qNp9cYujIIguFEiSi+JLALcJQqa9vHF7d0q5jmU+1k28wz9qoyHOfHrmPu836qgvTLY/tM2KccVwC6Y3RPF56g==", + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/pepr/-/pepr-0.29.0.tgz", + "integrity": "sha512-EJ3U/OpKTIBueasWjIlKWiTBOyp2ZWmAJ1r2cckb1Xa+yxsZ8cmSV3ReXfHb0nLh1OhLB77Tq27sg22m6cn/sA==", "dependencies": { - "@types/ramda": "0.29.11", + "@types/ramda": "0.29.12", "express": "4.19.2", "fast-json-patch": "3.1.1", "kubernetes-fluent-client": "2.3.0", @@ -6487,9 +6487,9 @@ } }, "node_modules/types-ramda": { - "version": "0.29.9", - "resolved": "https://registry.npmjs.org/types-ramda/-/types-ramda-0.29.9.tgz", - "integrity": "sha512-B+VbLtW68J4ncG/rccKaYDhlirKlVH/Izh2JZUfaPJv+3Tl2jbbgYsB1pvole1vXKSgaPlAe/wgEdOnMdAu52A==", + "version": "0.29.10", + "resolved": "https://registry.npmjs.org/types-ramda/-/types-ramda-0.29.10.tgz", + "integrity": "sha512-5PJiW/eiTPyXXBYGZOYGezMl6qj7keBiZheRwfjJZY26QPHsNrjfJnz0mru6oeqqoTHOni893Jfd6zyUXfQRWg==", "dependencies": { "ts-toolbelt": "^9.6.0" } diff --git a/package.json b/package.json index 367a61239..b4baf7d79 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "k3d-setup": "k3d cluster delete pepr-dev && k3d cluster create pepr-dev --k3s-arg '--debug@server:0'" }, "dependencies": { - "pepr": "0.28.7" + "pepr": "0.29.0" }, "devDependencies": { "@jest/globals": "29.7.0", diff --git a/tasks/create.yaml b/tasks/create.yaml index 29e2764b9..d780a18fe 100644 --- a/tasks/create.yaml +++ b/tasks/create.yaml @@ -1,5 +1,5 @@ includes: - - common: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.3.2/tasks/create.yaml + - common: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.3.10/tasks/create.yaml variables: - name: FLAVOR @@ -7,7 +7,7 @@ variables: - name: REGISTRY1_PEPR_IMAGE # renovate: datasource=docker versioning=semver - default: registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller:v0.28.7 + default: registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller:v0.29.0 tasks: - name: standard-package