Skip to content

Commit

Permalink
chore: add variables for pepr memory requests in dev/demo bundles (#1021
Browse files Browse the repository at this point in the history
)

## Description

Adds variables for memory requests in both bundles. Also defaults the
slim-dev bundle requests to the old Pepr defaults (see
[here](defenseunicorns/pepr@8e6887b)).

## Related Issue

N/A - supports lighter weight CI for uds-package runs with slim-dev.

## 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] Test, docs, adr added or updated as needed
- [x] [Contributor
Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)
followed
  • Loading branch information
mjnagel authored Nov 19, 2024
1 parent 472f9c5 commit 867501c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bundles/k3d-slim-dev/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ packages:
ref: 0.31.2
# x-release-please-end
overrides:
pepr-uds-core:
module:
variables:
- name: PEPR_WATCHER_MEMORY_REQUEST
description: "Memory requests for the pepr watcher pod"
path: "watcher.resources.requests.memory"
default: "64Mi"
- name: PEPR_ADMISSION_MEMORY_REQUEST
description: "Memory requests for the pepr admission pods"
path: "admission.resources.requests.memory"
default: "64Mi"
istio-admin-gateway:
uds-istio-config:
variables:
Expand Down
11 changes: 11 additions & 0 deletions bundles/k3d-standard/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ packages:
- istio-passthrough-gateway
- metrics-server
overrides:
pepr-uds-core:
module:
variables:
- name: PEPR_WATCHER_MEMORY_REQUEST
description: "Memory requests for the pepr watcher pod"
path: "watcher.resources.requests.memory"
default: "256Mi"
- name: PEPR_ADMISSION_MEMORY_REQUEST
description: "Memory requests for the pepr admission pods"
path: "admission.resources.requests.memory"
default: "256Mi"
loki:
loki:
variables:
Expand Down

0 comments on commit 867501c

Please sign in to comment.