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
7 changes: 6 additions & 1 deletion .github/workflows/k8s-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ jobs:
defectdojo \
./helm/defectdojo \
--set django.ingress.enabled=true \
--set imagePullPolicy=Never \
--set imagePullPolicy=IfNotPresent \
--set initializer.keepSeconds="-1" \
--set postgresql.volumePermissions.enabled=true \
--set redis.volumePermissions.enabled=true \
${{ env[matrix.databases] }} \
${{ env[matrix.brokers] }} \
--set createSecret=true \
Expand All @@ -96,6 +98,9 @@ jobs:
kubectl get all,ingress # all = pods, services, deployments, replicasets, statefulsets, jobs
helm status defectdojo
helm history defectdojo
kubectl get events --sort-by=.metadata.creationTimestamp
kubectl describe pvc data-defectdojo-postgresql-0
kubectl logs pod/defectdojo-postgresql-0 --all-containers --tail=100 --prefix

- name: Check Application
timeout-minutes: 10
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ docker/extra_settings/*
!docker/extra_settings/README.md


# Helm dependencies
helm/defectdojo/charts

# generates files for github pages
docs/public
Expand Down
10 changes: 5 additions & 5 deletions helm/defectdojo/Chart.lock
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file needed? If all deps are included, this might be removed.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 16.7.0
repository: ""
version: 16.7.26
- name: redis
repository: https://charts.bitnami.com/bitnami
repository: ""
version: 19.6.4
digest: sha256:20147b5ef71e728a24b1ce410bfbc64885bb824bac17d75dc3ad49e9af5f1b01
generated: "2025-05-08T15:21:14.221601771Z"
digest: sha256:5fa1fba91aaae8fdd86c34eb61f51bac9ba6cacc17de9c6513b3c49621fa7fe3
generated: "2025-08-22T14:38:41.453492-05:00"
6 changes: 2 additions & 4 deletions helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ maintainers:
url: https://github.com/DefectDojo/django-DefectDojo
dependencies:
- name: postgresql
version: ~16.7.0
repository: "https://charts.bitnami.com/bitnami"
version: 16.7.26
condition: postgresql.enabled
- name: redis
version: ~19.6.0
repository: "https://charts.bitnami.com/bitnami"
version: 19.6.4
condition: redis.enabled
Comment on lines 11 to 17
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this section needed? If all deps are included, this might be removed.

25 changes: 25 additions & 0 deletions helm/defectdojo/charts/postgresql/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
# img folder
img/
# Changelog
CHANGELOG.md
6 changes: 6 additions & 0 deletions helm/defectdojo/charts/postgresql/Chart.lock
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file needed? If base dep is included, this might be removed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.31.4
digest: sha256:fc442e77200e1914dd46fe26490dcf62f44caa51db673c2f8e67d5319cd4c163
generated: "2025-08-14T15:30:01.842897577Z"
38 changes: 38 additions & 0 deletions helm/defectdojo/charts/postgresql/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
annotations:
category: Database
images: |
- name: os-shell
image: docker.io/bitnami/os-shell:12-debian-12-r50
- name: postgres-exporter
image: docker.io/bitnami/postgres-exporter:0.17.1-debian-12-r15
- name: postgresql
image: docker.io/bitnami/postgresql:17.6.0-debian-12-r0
licenses: Apache-2.0
tanzuCategory: service
apiVersion: v2
appVersion: 17.6.0
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
Comment on lines +14 to +19
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this section needed? If base dep is included, this might be removed.

description: PostgreSQL (Postgres) is an open source object-relational database known
for reliability and data integrity. ACID-compliant, it supports foreign keys, joins,
views, triggers and stored procedures.
home: https://bitnami.com
icon: https://dyltqmyl993wv.cloudfront.net/assets/stacks/postgresql/img/postgresql-stack-220x234.png
keywords:
- postgresql
- postgres
- database
- sql
- replication
- cluster
maintainers:
- name: Broadcom, Inc. All Rights Reserved.
url: https://github.com/bitnami/charts
name: postgresql
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
version: 16.7.26
1,154 changes: 1,154 additions & 0 deletions helm/defectdojo/charts/postgresql/README.md

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions helm/defectdojo/charts/postgresql/charts/common/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# img folder
img/
# Changelog
CHANGELOG.md
23 changes: 23 additions & 0 deletions helm/defectdojo/charts/postgresql/charts/common/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
annotations:
category: Infrastructure
licenses: Apache-2.0
apiVersion: v2
appVersion: 2.31.4
description: A Library Helm Chart for grouping common logic between bitnami charts.
This chart is not deployable by itself.
home: https://bitnami.com
icon: https://dyltqmyl993wv.cloudfront.net/downloads/logos/bitnami-mark.png
keywords:
- common
- helper
- template
- function
- bitnami
maintainers:
- name: Broadcom, Inc. All Rights Reserved.
url: https://github.com/bitnami/charts
name: common
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/common
type: library
version: 2.31.4
Loading
Loading