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

feat: add watcher to apply reverse proxy #70

Merged
merged 1 commit into from
Mar 3, 2025
Merged

Conversation

dkeven
Copy link
Contributor

@dkeven dkeven commented Feb 20, 2025

add a watcher for reverse proxy ConfigMap events, which is responsible for watching the reverse-proxy-config ConfigMap and applying the config if necessary.

the reverse proxy operations in the current APIs /bfl/settings/v1alpha1/reverse-proxy and /bfl/settings/v1alpha1/ssl/enable are moved into the watcher, leaving only the logic of writing the expected config to the ConfigMap. The api scheme is not changed though, so the frontend does not need to be changed accordingly.

@dkeven dkeven requested review from eball and hysyeah February 20, 2025 09:23
@dkeven dkeven merged commit 9bbf5ac into main Mar 3, 2025
1 check passed
dkeven added a commit that referenced this pull request Mar 4, 2025
dkeven added a commit that referenced this pull request Mar 4, 2025
* fix: set timeout in every watch_entrance_ip loop (#73)

* feat: add watcher to apply reverse proxy (#70)
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