Skip to content
Open
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
4 changes: 3 additions & 1 deletion helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ dependencies:
# description: Critical bug
annotations:
artifacthub.io/prerelease: "true"
artifacthub.io/changes: ""
artifacthub.io/changes: |
- kind: changed
description: Enable to set pdb.minAvailable to number
10 changes: 8 additions & 2 deletions helm/defectdojo/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,10 @@
"type": "boolean"
},
"minAvailable": {
"type": "string"
"type": [
"string",
"number"
]
},
"unhealthyPodEvictionPolicy": {
"type": "string"
Expand Down Expand Up @@ -665,7 +668,10 @@
"type": "boolean"
},
"minAvailable": {
"type": "string"
"type": [
"string",
"number"
]
},
"unhealthyPodEvictionPolicy": {
"type": "string"
Expand Down
2 changes: 2 additions & 0 deletions helm/defectdojo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ celery:
# -- Configure pod disruption budgets for Celery worker ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
podDisruptionBudget:
enabled: false
# @schema type:[string, number]
minAvailable: 50%
unhealthyPodEvictionPolicy: AlwaysAllow
# -- Pod security context for the Celery worker pods.
Expand Down Expand Up @@ -407,6 +408,7 @@ django:
# -- Configure pod disruption budgets for django ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
podDisruptionBudget:
enabled: false
# @schema type:[string, number]
minAvailable: 50%
unhealthyPodEvictionPolicy: AlwaysAllow
replicas: 1
Expand Down
Loading