diff --git a/README.md b/README.md index c69f54c03..b690a74cd 100644 --- a/README.md +++ b/README.md @@ -235,6 +235,7 @@ The following table lists the configurable parameters of the Harbor chart and th | `core.priorityClassName` | The priority class to run the pod as | | | `core.artifactPullAsyncFlushDuration` | The time duration for async update artifact pull_time and repository pull_count | | | `core.gdpr.deleteUser` | Enable GDPR compliant user delete | `false` | +| `core.gdpr.auditLogsCompliant` | Enable GDPR compliant for audit logs by changing username to its CRC32 value if that user was deleted from the system | `false` | | **Jobservice** | | | | `jobservice.image.repository` | Repository for jobservice image | `goharbor/harbor-jobservice` | | `jobservice.image.tag` | Tag for jobservice image | `dev` | diff --git a/templates/core/core-cm.yaml b/templates/core/core-cm.yaml index 65237eb00..93cab01b4 100644 --- a/templates/core/core-cm.yaml +++ b/templates/core/core-cm.yaml @@ -75,6 +75,9 @@ data: {{- if .Values.core.gdpr.deleteUser}} GDPR_DELETE_USER: "true" {{- end }} + {{- if .Values.core.gdpr.auditLogsCompliant}} + GDPR_AUDIT_LOGS: "true" + {{- end }} {{- end }} {{- if .Values.cache.enabled }} diff --git a/values.yaml b/values.yaml index 4edd63fa8..a5fcd9814 100644 --- a/values.yaml +++ b/values.yaml @@ -524,6 +524,7 @@ core: artifactPullAsyncFlushDuration: gdpr: deleteUser: false + auditLogsCompliant: false jobservice: image: