feat: add middleware creation support from Proxmox VM/LXC labels#41
Open
geekosphere-net wants to merge 2 commits intoNX211:mainfrom
Open
feat: add middleware creation support from Proxmox VM/LXC labels#41geekosphere-net wants to merge 2 commits intoNX211:mainfrom
geekosphere-net wants to merge 2 commits intoNX211:mainfrom
Conversation
The plugin previously parsed middleware references on routers but never created the actual middleware definitions, causing Traefik to error with "middleware X does not exist". This adds label-driven middleware building for all 23 Traefik HTTP middleware types (RedirectRegex, Headers, BasicAuth, Compress, RateLimit, etc.). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just found this plugin after your post to Reddit, and am loving it thanks!
I tried to use it with 2 of my LXCs (one LXC one OCI) and I was not able to create a dynamic middleware, for my headers or a redirect. Being a Software Architect/Developer for 30+ years I figured I would give this a shot with the help of Claude (as I am not a golang developer) I was able to dynamically add my two middlewares with no issues when running this as a
plugins-localon my Traefik LXC on Proxmox VE 9.1.4.Thanks again for the work in setting up the plugin!