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

Set "text/yaml" in index.yaml Content-Type #93

Merged
merged 2 commits into from
Jul 31, 2021

Conversation

denismaggior8
Copy link
Contributor

Helm official doc states that "Make sure yaml files are served with the correct content type (text/yaml or text/x-yaml)". With this PR I made sure that newly created repos contain index.yaml file with the correct Content-Type metadata attribute (text/yaml).

Fixes issue #92

Signed-off-by: denismaggior8 [email protected]

@denismaggior8
Copy link
Contributor Author

denismaggior8 commented Jul 27, 2021

Hi @hayorov, could you please review my PR?
I found out that every time you modify the index.yaml using the helm gcs subcommand, the index.yaml metadata is reverted to text/plain.

Thanks!
Denis

@hayorov hayorov self-assigned this Jul 31, 2021
@hayorov hayorov self-requested a review July 31, 2021 04:03
@hayorov hayorov merged commit b95f78d into hayorov:master Jul 31, 2021
@hayorov
Copy link
Owner

hayorov commented Jul 31, 2021

Many thanks, @denismaggior8 , will be included in the next release.

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