You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certainly there are many use cases for globally applied sidecars, but mostly it's about applying common monitoring / logshipping, like discussed here #264.
I just ran into the same issue of being able to globally add the sidecars, but being unable to apply some common environment variables to configure those (see comment #264 (comment))
I think propagating the content of the pod_environment_configmap to all sidecars should be relatively easy to implement. Have nothing against this idea. As you said, the name already sounds like it would be available to all containers. Feel free to open PR.
While propagation of pod_environment_configmap to all containers makes sense in itself, this still means such a configmap has to exist in each namespace to "solve " the issue of configuring the global sidecars. I'd rather have this configuration central in the operator configuration, next to where the sidecars are defined. Do you have any thoughts on that?
I wonder if the type of PodEnvironmentConfigMap could be changed to spec.NamespacedName like we have it elsewhere. Then we simply extract the namespace from the given parameter or use default, if not set. Here's the codeline.
It's awesome to be able to "simply" inject sidecars globally via sidecar_docker_images of the operator configuration (#331).
Unfortunately there is no way to globally configure those sidecars yet ...
Certainly there are many use cases for globally applied sidecars, but mostly it's about applying common monitoring / logshipping, like discussed here #264.
I just ran into the same issue of being able to globally add the sidecars, but being unable to apply some common environment variables to configure those (see comment #264 (comment))
Easiest would likely be to allow configuration of global sidecar containers just like individual postgresql custom resources (https://postgres-operator.readthedocs.io/en/latest/reference/cluster_manifest/#sidecar-definitions).
While fully exposing all PodSpec settings (#479) does work as well, it is harder to validate against the postgresql CRD.
The text was updated successfully, but these errors were encountered: