Skip to content

Commit

Permalink
fix(pvcCleaner): don't create resources when pvcCleaner is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
aboguszewski-sumo committed Mar 29, 2023
1 parent 89d5db4 commit beb95e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/2960.fixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix(pvcCleaner): don't create resources when pvcCleaner is disabled
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if or (eq .Values.pvcCleaner.logs.enabled true) (eq .Values.pvcCleaner.metrics.enabled true) }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -70,3 +71,4 @@ subjects:
- kind: ServiceAccount
name: {{ template "sumologic.metadata.name.pvcCleaner.roles.serviceaccount" . }}
namespace: {{ .Release.Namespace }}
{{- end }}

0 comments on commit beb95e7

Please sign in to comment.