Azure/Bridge-To-Kubernetes

Improved environment variables resolution for chiseled/distroless containers

opopivshchyi opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
When target container doesn't have shell, Bridge-To-Kubernetes falls back to populate environment variables from container manifest. Only constants and config map values seem to be supported in this case, secretKeyRef and fieldRef variables are left empty.

Mention what platform you want to support the new feature
Ubuntu Chiseled + .NET

Describe the solution you'd like
Environment variables based on secrets and pod fields are automatically populated for chiseled containers.

Describe alternatives you've considered
These variables can be supplied manually through KubernetesLocalProcessConfig, but automating this process can save a ton of time.

Additional context
image