Skip to content

Commit 355cbdd

Browse files
Merge helm-flag-restructure (aws-observability#332) into helm-annotation-scraper-routing
Propagates the needsCR least-privilege fix (require targetAllocator.enabled).
2 parents ffdca57 + ef3715b commit 355cbdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

charts/amazon-cloudwatch-observability/templates/target-allocator-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{- if or (and (hasKey ($customAgent.prometheus) "targetAllocator") (hasKey ($customAgent.prometheus.targetAllocator) "enabled") $customAgent.prometheus.targetAllocator.enabled) $otelCIScrape }}
1313
{{- $needsTA = true }}
1414
{{- end }}
15-
{{- if or (and (hasKey ($customAgent.prometheus) "targetAllocator") (hasKey ($customAgent.prometheus.targetAllocator) "prometheusCR") $customAgent.prometheus.targetAllocator.prometheusCR.enabled) $otelCIScrape }}
15+
{{- if or (and (hasKey ($customAgent.prometheus) "targetAllocator") (hasKey ($customAgent.prometheus.targetAllocator) "enabled") $customAgent.prometheus.targetAllocator.enabled (hasKey ($customAgent.prometheus.targetAllocator) "prometheusCR") $customAgent.prometheus.targetAllocator.prometheusCR.enabled) $otelCIScrape }}
1616
{{- $needsCR = true }}
1717
{{- end }}
1818
{{- end }}

0 commit comments

Comments
 (0)