Skip to content

try and read MARATHON_USERNAME and MARATHON_PASSWORD for auth info#16

Open
adamdecaf wants to merge 1 commit intocriteo:masterfrom
adamdecaf:env-vars-as-auth
Open

try and read MARATHON_USERNAME and MARATHON_PASSWORD for auth info#16
adamdecaf wants to merge 1 commit intocriteo:masterfrom
adamdecaf:env-vars-as-auth

Conversation

@adamdecaf
Copy link
Copy Markdown
Contributor

It seems easier to use env vars paired with k8s secrets rather than looping through cli flags.

The existing flags are still supported.

@adamdecaf
Copy link
Copy Markdown
Contributor Author

FYI. This doesn't seem to work. I tried with your (@matt-deboer's) go-marathon fork and the latest from upstream, but couldn't get app_instances metric to be returned.

My hunch is there's a case in go-marathon that doesn't handle adding basic auth params to the underlying http.Client, but keeping them in the URL works.

The problem with them in the url is that it'll show up in logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant