You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARN[0000] Failed to load mh config. Please consider exporting environment variable: MH_CONFIG. configFile=/Users/sitesar/src/go/src/github.com/cisco-sso/mh/main.yaml configFileEnv=/Users/sitesar/src/go/src/github.com/cisco-sso/mh/main.yaml configFileEnvPresent=true configFileFlag= configFileOrigin=env configFileUsed=/Users/sitesar/src/go/src/github.com/cisco-sso/mh/main.yaml err="While parsing config: yaml: line 18: could not find expected ':'"
FATA[0000] `kubectl config current-context` does not match configured targetContext command=simulate currentContext=minikube targetContext=localhost
mh parses MH_CONFIG before it runs any command to sanity check the kubectl context, but with this kind of templating, MH_CONFIG isn't valid YAML anymore.
The text was updated successfully, but these errors were encountered:
I tried to include a multi-line file via gomplate like this:
mh.yaml
Running
mh simulate
fails with:mh parses
MH_CONFIG
before it runs any command to sanity check the kubectl context, but with this kind of templating,MH_CONFIG
isn't valid YAML anymore.The text was updated successfully, but these errors were encountered: