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

fix: avoid GCS caching the index file #44

Merged
merged 1 commit into from
May 30, 2020

Conversation

rawlingsj
Copy link
Contributor

more details on Caching can be found here https://cloud.google.com/storage/docs/gsutil/addlhelp/WorkingWithObjectMetadata#cache-control_1

Added this PR as Work In Progress while we validate using our pipelines

@rawlingsj rawlingsj changed the title WIP: fix: avoid GCS caching the index file fix: avoid GCS caching the index file Mar 12, 2020
@rawlingsj
Copy link
Contributor Author

We've been running with this for a few days now and it's working great!

rawlingsj added a commit to jenkins-x-labs/helm-image that referenced this pull request Mar 24, 2020
@rawlingsj
Copy link
Contributor Author

Is there any feedback on this PR? Would love to see it get merged as we are reliant on it now and it's been working great. In fact without this change I think users will run into issues if a helm release of a chart follows another in quick succession before the bucket cache has been updated.

@benjlevesque
Copy link
Contributor

Looking forward for this 👍

Copy link

@erik-forsgren erik-forsgren left a comment

Choose a reason for hiding this comment

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

Looks good, also been experiencing problems with caching

rawlingsj added a commit to jenkins-x/jxl-base-image that referenced this pull request Apr 17, 2020
@benjlevesque
Copy link
Contributor

@hayorov does it look good to you?

@rawlingsj
Copy link
Contributor Author

@hayorov is it possible to merge this PR please? Without it users run into caching issues of the index.yaml. We have been using it for over a month to release well over a hundred charts and it is working great.

@hayorov hayorov self-requested a review May 30, 2020 15:52
Copy link
Owner

@hayorov hayorov left a comment

Choose a reason for hiding this comment

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

/lgtm

@hayorov hayorov merged commit 9106b59 into hayorov:master May 30, 2020
@rawlingsj
Copy link
Contributor Author

Yay - thanks @hayorov

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.

4 participants