diff --git a/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/templates/secured-cluster-cr.yaml b/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/templates/secured-cluster-cr.yaml index 7b07e362a8..729686e5c1 100644 --- a/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/templates/secured-cluster-cr.yaml +++ b/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/templates/secured-cluster-cr.yaml @@ -45,6 +45,9 @@ spec: resources: {{ toYaml .Values.compliance.resources | nindent 8 }} {{- end }} scanner: + {{- if .Values.scanner.scannerComponent }} + scannerComponent: {{ .Values.scanner.scannerComponent }} + {{- end }} analyzer: {{- if .Values.scanner.analyzer.resources }} resources: {{ toYaml .Values.scanner.analyzer.resources | nindent 8 }} diff --git a/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/values.yaml b/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/values.yaml index 5ea59e7aac..96f255213a 100644 --- a/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/values.yaml +++ b/dp-terraform/helm/rhacs-terraform/charts/secured-cluster/values.yaml @@ -30,6 +30,7 @@ compliance: memory: 100Mi cpu: 100m scanner: + scannerComponent: null analyzer: tolerations: [] nodeSelector: {} diff --git a/dp-terraform/helm/rhacs-terraform/values.yaml b/dp-terraform/helm/rhacs-terraform/values.yaml index 1db7a547b6..395bf25105 100644 --- a/dp-terraform/helm/rhacs-terraform/values.yaml +++ b/dp-terraform/helm/rhacs-terraform/values.yaml @@ -216,6 +216,7 @@ secured-cluster: nodeSelector: node-role.kubernetes.io/acscs-infra: "" scanner: + scannerComponent: Disabled analyzer: tolerations: - key: node-role.kubernetes.io/acscs-infra