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

add new SnapstoreProxyScheme field #111

Merged
merged 6 commits into from
Jul 31, 2024
Merged

Conversation

eaudetcobello
Copy link

@eaudetcobello eaudetcobello commented Jul 30, 2024

Adds a new SnapStoreProxyScheme field to the Microk8sConfig type.

This field is meant to be either http or https without ://. For backwards-compatibility reasons this new field has been added because the existing field was called SnapstoreProxyDomain and I do not think it's appropriate for a variable with that name to specify the URL scheme.

This addresses #108

@eaudetcobello eaudetcobello changed the title add new SnapstoreProxyField add new SnapstoreProxyScheme field Jul 30, 2024
@eaudetcobello eaudetcobello changed the title add new SnapstoreProxyScheme field add new SnapstoreProxySchema field Jul 31, 2024
@ktsakalozos
Copy link
Member

We should not be changing the current behavior. We must not break existing setups. Therefore the default value of the "SnapstoreProxyScheme" should be "http" if not set.

@eaudetcobello eaudetcobello requested a review from neoaggelos July 31, 2024 11:50
@eaudetcobello eaudetcobello changed the title add new SnapstoreProxySchema field add new SnapstoreProxyScheme field Jul 31, 2024
Copy link

@neoaggelos neoaggelos left a comment

Choose a reason for hiding this comment

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

LGTM! Make sure to test locally with an https snapstore proxy first!

@eaudetcobello eaudetcobello merged commit a1c6321 into main Jul 31, 2024
4 checks passed
@eaudetcobello eaudetcobello deleted the eaudetcobello/proxy-scheme branch July 31, 2024 17:33
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.

3 participants