Skip to content
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

chore(deps): update pepr #324

Merged
merged 1 commit into from
Apr 11, 2024
Merged

chore(deps): update pepr #324

merged 1 commit into from
Apr 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 3, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
defenseunicorns/uds-common patch v0.3.2 -> v0.3.10 age adoption passing confidence
pepr dependencies minor 0.28.7 -> 0.29.0 age adoption passing confidence
registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller (source) minor v0.28.7 -> v0.29.0 age adoption passing confidence

Release Notes

defenseunicorns/uds-common (defenseunicorns/uds-common)

v0.3.10

Compare Source

Miscellaneous

v0.3.9

Compare Source

Miscellaneous

v0.3.8

Compare Source

Miscellaneous
  • add upgrade tests to common (#​91) (bb2e590)
  • deps: update dependency defenseunicorns/uds-cli to v0.10.1 (#​84) (6b455b7)
  • deps: update dependency defenseunicorns/uds-core to v0.17.0 (#​83) (b8d8181)
  • deps: update uds common package dependencies to v6.6.1 (#​92) (862b635)
  • update registry login to happen in the common env setup action (#​88) (b7bce88)

v0.3.7

Compare Source

Miscellaneous

v0.3.6

Compare Source

Miscellaneous
  • hotfix the spoof containing a dash in the input and add a publish step (#​81) (f9c7aac)

v0.3.5

Compare Source

Miscellaneous

v0.3.4

Compare Source

Miscellaneous
  • add the ability to spoof to common (#​77) (49634e1)
  • deps: update dependency defenseunicorns/uds-core to v0.16.1 (#​72) (32d1ad6)

v0.3.3

Compare Source

Miscellaneous
defenseunicorns/pepr (pepr)

v0.29.0

Compare Source

features

getOwnerRefFrom - get fields needed to create an owner ref

// 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

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

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.
Good job @​schaeferka 👏

What's Changed

Full Changelog: defenseunicorns/pepr@v0.28.8...v0.29.0

v0.28.8

Compare Source

What's Changed

New Contributors

Full Changelog: defenseunicorns/pepr@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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update pepr to v0.3.9 chore(deps): update pepr to v0.3.10 Apr 3, 2024
@renovate renovate bot requested a review from a team as a code owner April 5, 2024 18:26
@renovate renovate bot changed the title chore(deps): update pepr to v0.3.10 chore(deps): update pepr Apr 5, 2024
@renovate renovate bot force-pushed the renovate/pepr branch 2 times, most recently from d95060b to 9688d5f Compare April 9, 2024 14:30
| datasource  | package                                                               | from    | to      |
| ----------- | --------------------------------------------------------------------- | ------- | ------- |
| github-tags | defenseunicorns/uds-common                                            | v0.3.2  | v0.3.10 |
| npm         | pepr                                                                  | 0.28.7  | 0.29.0  |
| docker      | registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller | v0.28.7 | v0.29.0 |
@renovate renovate bot requested a review from a team as a code owner April 11, 2024 15:42
@mjnagel mjnagel merged commit 2ef0f96 into main Apr 11, 2024
8 checks passed
@mjnagel mjnagel deleted the renovate/pepr branch April 11, 2024 16:26
mjnagel pushed a commit that referenced this pull request Apr 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.19.0](v0.18.0...v0.19.0)
(2024-04-12)


### Features

* add nightly testing eks
([#250](#250))
([543b09d](543b09d))


### Bug Fixes

* drop path normalization to MERGE_SLASHES to allow apps to handle
encoded slashes
([#330](#330))
([26e965f](26e965f))
* loki bucket configuration service_account and namespace
([#332](#332))
([9518634](9518634))


### Miscellaneous

* **deps:** update grafana
([#257](#257))
([c98e566](c98e566))
* **deps:** update metrics-server
([#298](#298))
([691fd87](691fd87))
* **deps:** update pepr
([#324](#324))
([2ef0f96](2ef0f96))
* **deps:** update pepr to v0.28.7
([#321](#321))
([e7206bb](e7206bb))
* **deps:** update promtail
([#74](#74))
([6a112b5](6a112b5))
* **deps:** update zarf to v0.32.6
([#282](#282))
([443426d](443426d))
* **deps:** update zarf to v0.33.0
([#325](#325))
([f2a2a66](f2a2a66))
* update codeowners
([#338](#338))
([c419574](c419574))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant