influxdata / telegraf-operator

telegraf-operator helps monitor application on Kubernetes with Telegraf
Apache License 2.0
80 stars 37 forks source link

I can't find how to mount a volume? #103

Closed ghost closed 2 years ago

ghost commented 2 years ago

Describe the issue here.

I need mount a dir of own container to telegraf container in the Pod by emptyDir volume. But I can't find the annotations for this condition.

is there have the suitable annotations for this condition?

What products and version are you using?

latest version

wojciechka commented 2 years ago

Hi,

It's not currently possible, but definitely seems like something worth looking into.

There's #80 that was created some time ago, but unfortunately the PR was never finished. Perhaps you would be interested in trying to add it based on that PR?

ghost commented 2 years ago

thanks for your answer

our project need this function, today I forked this repo and made same modify for volume mount.

the changes is uesed by our project now, I am working on test it.

hope it can work tomorrow, if it test pass, I will propose the pull request.