Skip to content

Commit

Permalink
feat(agent): change condition to not fail in case nodeAnalyzer is ent…
Browse files Browse the repository at this point in the history
…ire disabled.
  • Loading branch information
IgorEulalio committed Oct 24, 2023
1 parent b42b4b1 commit c1e772e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{- if and .Values.clusterScanner.enabled .Values.nodeAnalyzer.runtimeScanner.deploy ( include "deployRuntimeScanner" . ) -}}
{{- if and .Values.clusterScanner.enabled .Values.nodeAnalyzer.enabled .Values.nodeAnalyzer.nodeAnalyzer.runtimeScanner.deploy ( include "deployRuntimeScanner" . ) -}}
{{ fail "Cannot enable both the Runtime Scanner and the Cluster Scanner at the same time" }}
{{- end -}}

0 comments on commit c1e772e

Please sign in to comment.