Skip to content

shopstic/k8s-env-injector

Repository files navigation

Kubernetes ENV Injector

CI License

The purpose of k8s-env-injector is to inject node labels as environment variables to pods in a selected namespace.

Local development

Enter shell with ./shell.sh and then watch for changes with ./cli.sh watch.

Deployment

Helm chart is provided in the charts directory.

Using Helm chart

Values that always need to be specified:

  • mutationWebhook.namespaceSelector. It should select only the namespace where k8s-env-injector is deployed to.