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 --cors-allowed-origins flag to kcp-front-proxy #3013

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

xrstf
Copy link
Contributor

@xrstf xrstf commented Sep 26, 2023

Summary

The APIserver config already has a flag to configure allowed CORS origins, but the front-proxy does not use the APIServer options and so did not get this flag. This PR adds it to the proxy's options to make the flag available.

Release Notes

Add `--cors-allowed-origins` flag to kcp-front-proxy

@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has signed the DCO. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 26, 2023
@xrstf
Copy link
Contributor Author

xrstf commented Sep 26, 2023

/retest

@sttts
Copy link
Member

sttts commented Sep 27, 2023

/approve

Leaving lgtm to @mjudeikis or @embik

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sttts

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 27, 2023
@embik
Copy link
Member

embik commented Sep 27, 2023

/retest

1 similar comment
@embik
Copy link
Member

embik commented Sep 27, 2023

/retest

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 27, 2023
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: a96eb5f42564363198b8484d930bd7f3736455e4

@kcp-ci-bot kcp-ci-bot merged commit e868c88 into kcp-dev:main Sep 27, 2023
16 checks passed
@xrstf xrstf deleted the front-proxy-cors branch September 27, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants