Skip to content

Commit

Permalink
fix: units (#13)
Browse files Browse the repository at this point in the history
* fix: units

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
jensens and github-actions authored Aug 1, 2024
1 parent 67cc1f6 commit 8c0858b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/plone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export class Plone extends Construct {
imagePullPolicy: backend.imagePullPolicy ?? 'IfNotPresent',
},
replicas: backend.replicas,
limitCpu: backend.limitCpu ?? '500Mi',
limitCpu: backend.limitCpu ?? '500m',
limitMemory: backend.limitMemory ?? '512Mi',
requestCpu: backend.requestCpu ?? '200Mi',
requestCpu: backend.requestCpu ?? '200m',
requestMemory: backend.requestMemory ?? '256Mi',
pdb: {
maxUnavailable: backend.maxUnavailable ?? undefined,
Expand Down Expand Up @@ -155,9 +155,9 @@ export class Plone extends Construct {
imagePullPolicy: frontend.imagePullPolicy ?? 'IfNotPresent',
},
replicas: frontend.replicas,
limitCpu: frontend.limitCpu ?? '500Mi',
limitCpu: frontend.limitCpu ?? '500m',
limitMemory: frontend.limitMemory ?? '1Gi',
requestCpu: backend.requestCpu ?? '200Mi',
requestCpu: backend.requestCpu ?? '200m',
requestMemory: backend.requestMemory ?? '256Mi',

pdb: {
Expand Down
16 changes: 8 additions & 8 deletions test/__snapshots__/plone.test.ts.snap

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

0 comments on commit 8c0858b

Please sign in to comment.