UNCLASSIFIED

Commit 8570696d authored by bhearn's avatar bhearn
Browse files

set container resources

parent e2a27a8a
......@@ -203,4 +203,11 @@ To resolve a race condition in Big Bang CI pipelines, an additional sleep argume
- |
sleep 60
anchore-manager db --db-connect postgresql://${ANCHORE_DB_USER}:${ANCHORE_DB_PASSWORD}@${ANCHORE_DB_HOST}/${ANCHORE_DB_NAME} upgrade --dontask;
```
Additionally, a field was added to `chart/templates/engine_upgrade_job.yaml`, `enterprise_upgrade_job.yaml`, and `enterprise_feeds_upgrade_jobs.yaml` to allow users to specify container resource requests and limits for the jobs. This was done to resolve OPA Gatekeeper violations around container resources and ratios:
```yaml
resources:
{{ toYaml .Values.anchoreEngineUpgradeJob.resources | nindent 10 }}
```
\ No newline at end of file
......@@ -17,6 +17,13 @@ bbtests:
secretKeyRef:
name: "{{ template \"anchore-engine.fullname\" . }}-admin-pass"
key: ANCHORE_ADMIN_PASSWORD
resources:
requests:
cpu: "1"
memory: "1Gi"
limits:
cpu: "1"
memory: "1Gi"
anchoreGlobal:
saml:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment