samba-in-kubernetes / samba-operator

An operator for a Samba as a service on PVCs in kubernetes
Apache License 2.0
108 stars 24 forks source link

resources: export pod's meta-info via env variables #196

Closed synarete closed 2 years ago

synarete commented 2 years ago

Allow each smbd pod to discover it's own id (name and namespace) via default environment variables. With those variables at hand, each container within the pod may discover its current run-time properties.

Required in order to enable smbmetrics sidcar container to extern current image information via Prometheus.

Signed-off-by: Shachar Sharon ssharon@redhat.com

anoopcs9 commented 2 years ago

/test centos-ci/sink-clustered/mini-k8s-1.23