Skip to content

Commit

Permalink
fix: more memory for degit init-container (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored Oct 1, 2024
1 parent 651be24 commit 8f60b95
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 22 deletions.
16 changes: 12 additions & 4 deletions packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,12 @@ spec:
- name: workspace
mountPath: /workspace
resources:
limits: {}
requests: {}
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
containers:
- name: job
image: moby/buildkit:v0.13.0-rootless
Expand Down Expand Up @@ -417,8 +421,12 @@ spec:
- name: workspace
mountPath: /workspace
resources:
limits: {}
requests: {}
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
containers:
- name: job
image: moby/buildkit:v0.13.0-rootless
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,12 @@ spec:
- name: workspace
mountPath: /workspace
resources:
limits: {}
requests: {}
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
containers:
- name: job
image: moby/buildkit:v0.13.0-rootless
Expand Down
33 changes: 17 additions & 16 deletions plugins/contrib/charts/job/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
enabled:
output: false
namespace:
repository:
gitBranch:
namespace:
repository:
gitBranch:
runs: {}
defaults:
image: "debian:stable"
Expand All @@ -15,27 +15,27 @@ defaults:
serviceAccountName: ""
resources:
limits:
cpu:
memory:
cpu:
memory:
requests:
cpu:
memory:
cpu:
memory:
degitRepository:
resources:
limits:
cpu:
memory:
cpu: "1"
memory: 1Gi
requests:
cpu:
memory:
cpu: "1"
memory: 1Gi
degitAction:
resources:
limits:
cpu:
memory:
cpu:
memory:
requests:
cpu:
memory:
cpu:
memory:
deployKey:
enabled: false
secretRefName: deploy-key
Expand All @@ -44,4 +44,5 @@ defaults:
secretRefName: kubeconfig
secretRefKey: KUBECONFIG
mountDeployKey: false
_pluginValuesCompilerContribJob: true
_pluginValuesCompilerContribJob: true

0 comments on commit 8f60b95

Please sign in to comment.