-
Notifications
You must be signed in to change notification settings - Fork 159
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
Add option to publish via a different URI #70
Conversation
460f746
to
a0b4c01
Compare
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
a0b4c01
to
ef4cf18
Compare
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
I've added integration tests for published repositories. I also refactored the integration tests to remove the unnecessary |
@hypnoglow Anything I can do to move this PR along? |
any possible movement on this? i could also really use this functionality. |
@jgangemi Until this is merged, you're welcome to use my forked build:
|
@steven-sheehy awesome, thanks! what's the behavior if i still want to access via |
@jgangemi Nope, you can use both concurrently, even from the same client. Just add the s3 and http as separate repos via |
@steven-sheehy awesome, thanks again!! |
hey @steven-sheehy, you didn't touch anything w/ the
this used to work in an older version and doesn't ask of |
My changes shouldn't affect the issue you're experiencing. |
weird b/c this used to work and thanks for responding and also doing this work, it saved me from having to figure out a hacky solution. |
@hypnoglow can we merge this pr |
@hypnoglow is this going to be merged? it's been some months now |
@steven-sheehy - do you have your fork hosted anywhere that I can move over to? This PR looks abandoned... |
Can this or #56 be merged? I use the plugin to publish the charts to a s3 bucket, which is then hosted by a cloudfront distro, hence I had to hack the index.yaml: urls:
- - s3://thebucketname/fspython-0.1.0.tgz
+ - fspython-0.1.0.tgz |
I don't want to spend time fixing the conflicts (which are not trivial) unless there's some indication the PR has the possibility of being reviewed and accepted. |
@hypnoglow care to comment? |
Also - I think this can be simplified, by having the list in the url element only list the archive name - i.e. without the protocol&host prefix - that worked for me - and they are resolved relative to the repo given. |
Fixes #45
This PR implements the proposal in PR #56, but addresses the concerns that I had with the proposal. It does so by maintaining the remote and local indexes separately such that the remote one has the published URI (HTTP) while the local always has the S3 URIs. Besides solving the problem with authenticated repositories while still supporting the other use cases, I think it is more intuitive that the Helm S3 plugin continues to use S3 as its protocol regardless of how the repository user consumes the publish repository.
I also merged the publish command into a
helm s3 reindex --publish
since the publish command was effectively a reindex command with a different publish URI.