diff --git a/chart/templates/velero/velero-helmrelease.yaml b/chart/templates/velero/velero-helmrelease.yaml index 8f9eb5347e8c4a1edbf379e389989a4f49890298..885c3a599007182c866fab6a83b14f9132c005d9 100644 --- a/chart/templates/velero/velero-helmrelease.yaml +++ b/chart/templates/velero/velero-helmrelease.yaml @@ -36,7 +36,7 @@ spec: - name: {{ .Release.Name }}-velero-values kind: Secret valuesKey: "overlays" - {{- if or .Values.istio.enabled .Values.kyvernopolicies.enabled }} + {{- if or .Values.istio.enabled .Values.kyvernopolicies.enabled .Values.monitoring.enabled }} dependsOn: {{- if .Values.istio.enabled }} - name: istio @@ -46,5 +46,9 @@ spec: - name: kyvernopolicies namespace: {{ .Release.Namespace }} {{- end }} + {{- if .Values.monitoring.enabled }} + - name: monitoring + namespace: {{ .Release.Namespace }} + {{- end }} {{- end }} {{- end }}