cloudposse / prometheus-to-cloudwatch

Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch
https://cloudposse.com/accelerate
Apache License 2.0
169 stars 37 forks source link

Bug fix for helm template #20

Closed edfungus closed 5 years ago

edfungus commented 5 years ago

When using helm, I got:

error validating data: ValidationError(Deployment.spec.template.spec): unknown field "resources" in io.k8s.api.core.v1.PodSpec;

This is because helm template Deployment has resources placed at Deployment.spec.template.spec.resources where if should be at Deployment.spec.template.spec.containers[0].resources instead.