Skip to content

Commit 283d86f

Browse files
authored
feat(base-cluster/cert-manager): enableCertificateOwnerRef (#1653)
That way secrets are automatically cleaned up when the corresponding Certificate is deleted <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enabled certificate owner references in cert-manager deployments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent d01b810 commit 283d86f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

charts/base-cluster/templates/cert-manager/cert-manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ spec:
4848
{{- end }}
4949
resources: {{- include "common.resources" $.Values.certManager | nindent 6 }}
5050
replicaCount: 1
51+
enableCertificateOwnerRef: true
5152
securityContext: &securityContext
5253
runAsNonRoot: true
5354
runAsUser: 1001

0 commit comments

Comments
 (0)