Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/prometheus-operator] Allow setting annotations for the Prometheus instance #16272

Closed
garo opened this issue Aug 13, 2019 · 3 comments
Closed

Comments

@garo
Copy link

garo commented Aug 13, 2019

In order to run a Thanos sidecar which uploads data to an S3 bucket with IAM Instance Role it is required that an annotation gets placed to the Prometheus pod (assuming the system is using kube2iam to provide AWS IAM roles).

The prometheus-operator seems to support this with the podMetadata field in PrometheusSpec

Describe the solution you'd like
I would like that the chart values.yaml supports defining a podMetadata structure which gets propagated to the created Prometheus pod.

@garo garo closed this as completed Aug 13, 2019
@OtavioHenrique
Copy link

@garo I'm facing the same problem, do you have any solution?

@garo
Copy link
Author

garo commented Aug 30, 2019

@OtavioHenrique I found out that the chart actually supports that already, pretty much just as I described in this issue - I just didn't see it by myself until I wrote this.

Unfortunately I don't have my notes nearby but I think it is/was the prometheus.prometheusSpec.podMetadata in values.yaml

@OtavioHenrique
Copy link

@garo Thank you very much :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants