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

Support glob wildcards for gcr.io credentials #8438

Merged
merged 1 commit into from
May 29, 2015

Conversation

tcnghia
Copy link

@tcnghia tcnghia commented May 18, 2015

Adding glob wildcards to URLs for GCR.IO credentials.

Globs were chosen instead of regular expression because we prefer clarity and globs would serve most of our use cases well already.

@tcnghia
Copy link
Author

tcnghia commented May 26, 2015

Hi @brendanburns do you have updates on this PR? thanks!

if err != nil {
return false, err
}
return urlMatched_(globUrl, targetUrl)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the underscore.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@brendandburns
Copy link
Contributor

minor comments and needs a rebase.

@tcnghia tcnghia force-pushed the master branch 3 times, most recently from 48399a9 to a74c0ce Compare May 29, 2015 16:55
@brendandburns
Copy link
Contributor

LGTM.

@brendandburns brendandburns added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 29, 2015
rjnagal added a commit that referenced this pull request May 29, 2015
Support glob wildcards for gcr.io credentials
@rjnagal rjnagal merged commit 7813fb6 into kubernetes:master May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants