diff --git a/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml b/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml index bfcf5893b..8ac31e13c 100644 --- a/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml @@ -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 @@ -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 diff --git a/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml b/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml index 03828a7eb..d42888693 100644 --- a/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml @@ -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 diff --git a/plugins/contrib/charts/job/values.yaml b/plugins/contrib/charts/job/values.yaml index cd1fba42c..370470c25 100644 --- a/plugins/contrib/charts/job/values.yaml +++ b/plugins/contrib/charts/job/values.yaml @@ -1,8 +1,8 @@ enabled: output: false -namespace: -repository: -gitBranch: +namespace: +repository: +gitBranch: runs: {} defaults: image: "debian:stable" @@ -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 @@ -44,4 +44,5 @@ defaults: secretRefName: kubeconfig secretRefKey: KUBECONFIG mountDeployKey: false -_pluginValuesCompilerContribJob: true \ No newline at end of file +_pluginValuesCompilerContribJob: true +