mintel / dex-k8s-authenticator

A Kubernetes Dex Client Authenticator
MIT License
371 stars 146 forks source link

kubectl_version don't get from env variable #85

Closed FreakyGranny closed 4 years ago

FreakyGranny commented 5 years ago

I setup config.yaml with env variable, but at result page kubectl download link look like

https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl

my config:

clusters:
  ...
listen: http://0.0.0.0:5555
web_path_prefix: /
kubectl_version: ${KUBECTL_VERSION}
debug: true
nickmintel commented 5 years ago

Thanks - will have a look. Looks like kubectl_version is coming straight from viper.String (by-passing our built-in env-substitution).

Will take a look soon.

nabadger commented 4 years ago

Should be fixed on master now. I'll prepare a new release soon.