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

Sets OVERWRITEPROTOCOL env var in deployement.yaml for http to https redirect to work #210

Merged

Conversation

wethinkagile
Copy link
Contributor

@wethinkagile wethinkagile commented Mar 17, 2022

Pull Request

Description of the change

Problem
The polling URL does not start with HTTPS despite the login URL started with HTTPS. Login will not be possible because this might be a security issue. Please contact your administrator

Solution
Sets OVERWRITEPROTOCOL env var in deployement.yaml in case user has http to https redirect in ingress annotations

Benefits

Fixing the Issue in the Helm Chart.

Possible drawbacks

None known.

Applicable issues

Additional information

To fix the HTTPS redirect issue in case you use http to https redirect in ingress annotations, use in values.yaml:

phpClientHttpsFix:
  enabled: true
  protocol: https

This sets OVERWRITEPROTOCOL env variable in deployment.yaml accordingly to https.

Checklist

@wethinkagile wethinkagile changed the title Sets OVERWRITEPROTOCOL env var in deployement.yaml in case user has http to https redirect in ingress annotations Sets OVERWRITEPROTOCOL env var in deployement.yaml for http to https redirect to work Mar 17, 2022
@tvories
Copy link
Collaborator

tvories commented Mar 18, 2022

@stevek-pro can you sign off on the DCO and bump the chart version?

Thanks!

@wethinkagile
Copy link
Contributor Author

wethinkagile commented Mar 18, 2022

@tvories I did bump twice now, is there another bump necessary? About the DCO, I did sign with "commit -S -m", I'm not quite sure what's wrong. But I will try.

@tvories
Copy link
Collaborator

tvories commented Mar 18, 2022

@stevek-pro Yeah, I merged a bunch of PRs yesterday so unfortunately, the version changed a lot. I believe the current version should be 2.13.2. To sign off, follow the instructions here:

https://github.com/nextcloud/helm/pull/210/checks?check_run_id=5587753976

Stephan Kristyn added 3 commits March 18, 2022 18:33
Signed-off-by: Stephan Kristyn <hallo@transformatik.de>
…ttp to https redirect in ingress annotations

Signed-off-by: Stephan Kristyn <hallo@transformatik.de>
Signed-off-by: Stephan Kristyn <hallo@transformatik.de>
@wethinkagile wethinkagile force-pushed the PhpClientHttpsPollingURLIssueFix branch from 61e88d2 to 0897e26 Compare March 18, 2022 19:13
@wethinkagile
Copy link
Contributor Author

wethinkagile commented Mar 18, 2022

@tvories Thank you, I did all the necessary steps. Also my error on the DCO, I mixed this PR up with one from another repo.

@tvories tvories merged commit 45843a6 into nextcloud:master Mar 22, 2022
@wethinkagile wethinkagile deleted the PhpClientHttpsPollingURLIssueFix branch March 24, 2022 15:45
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.

None yet

2 participants