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

restart on traefik-route initiated static config changes #325

Merged
merged 15 commits into from
Apr 24, 2024

Conversation

PietroPasotti
Copy link
Contributor

This PR adds a 'static' field to the traefik-route interface and instructs Traefik to take whatever's in there and put it into the static config and restart itself whenever there's a change.

Copy link
Contributor

@mmkay mmkay left a comment

Choose a reason for hiding this comment

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

First round done, two things come up. Will see it again once CI is happy.

src/traefik.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
@PietroPasotti PietroPasotti requested a review from mmkay April 23, 2024 09:43
@PietroPasotti
Copy link
Contributor Author

CI is stuck because of microsoft/linux-package-repositories#130 now trying to run them locally, if they pass I vote we merge on red

@PietroPasotti
Copy link
Contributor Author

only test failing locally is unrelated to these changes. (it's on forward-auth)

Copy link
Contributor

@mmkay mmkay left a comment

Choose a reason for hiding this comment

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

Screenshot from 2024-04-24 14-56-58

Looks like it does what it was supposed to do :) Nice!

@PietroPasotti PietroPasotti merged commit 4611baa into main Apr 24, 2024
13 checks passed
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.

4 participants