Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netrc configmap #380

Merged
merged 3 commits into from
Oct 1, 2021
Merged

Conversation

emmanuelmathot
Copy link
Contributor

@emmanuelmathot emmanuelmathot commented Oct 1, 2021

Related issue :

In cogeotiff/rio-tiler#397, I expressed the need to be able to authenticate to the STAC resource if needed.

Proposed Changes:

Implement netrc configuration to allow HTTP basic auth for STAC reader. A configmap is attached to the deployment and mount a netrc config file at /config/netrc that is then passed as various env var NETRC, CURLOPT_NETRC, CURLOPT_NETRC_FILE

PR Checklist:

  • This PR has no breaking changes.

@emmanuelmathot emmanuelmathot marked this pull request as ready for review October 1, 2021 08:16
CHANGES.md Outdated Show resolved Hide resolved
This reverts commit f71f72e.
@vincentsarago vincentsarago merged commit 46dbb25 into developmentseed:master Oct 1, 2021
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.

2 participants