Skip to content
Closed
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: 4 additions & 0 deletions helm/defectdojo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,9 @@ A Helm chart for Kubernetes to install DefectDojo
| django.uwsgi.startupProbe.successThreshold | int | `1` | |
| django.uwsgi.startupProbe.timeoutSeconds | int | `1` | |
| extraConfigs | object | `{}` | |
| extraEnv | list | `[]` | |
| extraLabels | object | `{}` | |
| extraSecrets | object | `{}` | |
| gke.useGKEIngress | bool | `false` | |
| gke.useManagedCertificate | bool | `false` | |
| gke.workloadIdentityEmail | string | `""` | |
Expand All @@ -672,6 +674,7 @@ A Helm chart for Kubernetes to install DefectDojo
| initializer.securityContext.runAsNonRoot | bool | `true` | |
| initializer.staticName | bool | `false` | |
| initializer.tolerations | list | `[]` | |
| localsettingspy | string | `""` | |
| monitoring.enabled | bool | `false` | |
| monitoring.prometheus.enabled | bool | `false` | |
| monitoring.prometheus.image | string | `"nginx/nginx-prometheus-exporter:1.4.2"` | |
Expand Down Expand Up @@ -730,6 +733,7 @@ A Helm chart for Kubernetes to install DefectDojo
| tests.unitTests.resources.limits.memory | string | `"512Mi"` | |
| tests.unitTests.resources.requests.cpu | string | `"100m"` | |
| tests.unitTests.resources.requests.memory | string | `"128Mi"` | |
| trackConfig | string | `"disabled"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
2 changes: 1 addition & 1 deletion helm/defectdojo/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Create the name of the service account to use
secretKeyRef:
name: {{ .Values.postgresql.auth.existingSecret | default "defectdojo-postgresql-specific" }}
key: {{ .Values.postgresql.auth.secretKeys.userPasswordKey | default "postgresql-password" }}
{{- with.Values.django.extraEnv }}
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
Expand Down
12 changes: 12 additions & 0 deletions helm/defectdojo/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,15 @@
"extraConfigs": {
"type": "object"
},
"extraEnv": {
"type": "array"
},
"extraLabels": {
"type": "object"
},
"extraSecrets": {
"type": "object"
},
"gke": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -686,6 +692,9 @@
}
}
},
"localsettingspy": {
"type": "string"
},
"monitoring": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1015,6 +1024,9 @@
}
}
}
},
"trackConfig": {
"type": "string"
}
}
}
10 changes: 5 additions & 5 deletions helm/defectdojo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ createPostgresqlSecret: false
# can be:
# - disabled, default
# - enabled, enables tracking configuration changes based on SHA256
# trackConfig: disabled
trackConfig: disabled

# Avoid using pre-install hooks, which might cause issues with ArgoCD
disableHooks: false
Expand Down Expand Up @@ -500,20 +500,19 @@ redis:

# To add extra variables not predefined by helm config it is possible to define in extraConfigs block, e.g. below:
# NOTE Do not store any kind of sensitive information inside of it
# extraConfigs:
extraConfigs: {}
# DD_SOCIAL_AUTH_AUTH0_OAUTH2_ENABLED: 'true'
# DD_SOCIAL_AUTH_AUTH0_KEY: 'dev'
# DD_SOCIAL_AUTH_AUTH0_DOMAIN: 'xxxxx'

# Extra secrets can be created inside of extraSecrets block:
# NOTE This is just an exmaple, do not store sensitive data in plain text form, better inject it during the deployment/upgrade by --set extraSecrets.secret=someSecret
# extraSecrets:
extraSecrets: {}
# DD_SOCIAL_AUTH_AUTH0_SECRET: 'xxx'
extraConfigs: {}

# To add (or override) extra variables which need to be pulled from another configMap, you can
# use extraEnv. For example:
# extraEnv:
extraEnv: []
# - name: DD_DATABASE_HOST
# valueFrom:
# configMapKeyRef:
Expand All @@ -523,6 +522,7 @@ extraConfigs: {}
# To add code snippet which would extend setting functionality, you might add it here
# It will be stored as ConfigMap and mounted `dojo/settings/local_settings.py`.
# For more see: https://documentation.defectdojo.com/getting_started/configuration/
localsettingspy: ""
# For example:
# localsettingspy: |
# INSTALLED_APPS += (
Expand Down