Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
Duplicate definitions of environment variables result in unexpected behavior, which we would like to discover.
This issue is reported in the Kubernetes repo but has not yet been fixed.
https://github.com/kubernetes/kubernetes/issues/58477
$ kube-score score manifest.yaml
apps/v1/Deployment envvars-deployment 💥
[CRITICAL] Pod EnvironmentVariable
· The pod has duplicated environment variables
bla bla bla ...
Duplicate definitions of environment variables result in unexpected behavior, which we would like to discover. This issue is reported in the Kubernetes repo but has not yet been fixed. https://github.com/kubernetes/kubernetes/issues/58477
Propose behavior