Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ annotations:
description: Convert existing comments to descriptors
- kind: added
description: Testing on the oldest officially supported k8s
- kind: added
description: Checker for maximal number of celery beats
2 changes: 1 addition & 1 deletion helm/defectdojo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ A Helm chart for Kubernetes to install DefectDojo
| celery.beat.podAnnotations | object | `{}` | Annotations for the Celery beat pods. |
| celery.beat.podSecurityContext | object | `{}` | Pod security context for the Celery beat pods. |
| celery.beat.readinessProbe | object | `{}` | Enable readiness probe for Celery beat container. |
| celery.beat.replicas | int | `1` | |
| celery.beat.replicas | int | `1` | Multiple replicas are not allowed (Beat is intended to be a singleton) because scaling to >1 will double-run schedules |
| celery.beat.resources.limits.cpu | string | `"2000m"` | |
| celery.beat.resources.limits.memory | string | `"256Mi"` | |
| celery.beat.resources.requests.cpu | string | `"100m"` | |
Expand Down
4 changes: 3 additions & 1 deletion helm/defectdojo/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@
"type": "object"
},
"replicas": {
"type": "integer"
"description": "Multiple replicas are not allowed (Beat is intended to be a singleton) because scaling to \u003e1 will double-run schedules",
"type": "integer",
"maximum": 1
},
"resources": {
"type": "object",
Expand Down
2 changes: 2 additions & 0 deletions helm/defectdojo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ celery:
podSecurityContext: {}
# -- Enable readiness probe for Celery beat container.
readinessProbe: {}
# @schema maximum:1
# -- Multiple replicas are not allowed (Beat is intended to be a singleton) because scaling to >1 will double-run schedules
replicas: 1
resources:
requests:
Expand Down