feat: add bypass, session-duration, and auto-redirect annotations#278
Open
twiechert wants to merge 2 commits intoSTRRL:masterfrom
Open
feat: add bypass, session-duration, and auto-redirect annotations#278twiechert wants to merge 2 commits intoSTRRL:masterfrom
twiechert wants to merge 2 commits intoSTRRL:masterfrom
Conversation
Add support for managing Cloudflare Access Applications directly from Kubernetes Ingress annotations, co-locating access policy with the services it protects. New annotations: - cloudflare-access-allowed-group: comma-separated Access Group IDs that are allowed access (creates an allow policy) - cloudflare-access-denied-group: comma-separated Access Group IDs that are denied access (creates a higher-precedence deny policy) When allowed-group is set, the controller creates a self-hosted Access Application for the hostname with deterministic naming (ctic:<tunnel>:<host>) for ownership tracking. Applications are reconciled on each sync: created, updated, or deleted to match the desired state. This keeps the controller IdP-agnostic — groups encapsulate the OIDC/email/mTLS logic and are referenced by ID.
New annotations for Access Application settings: - cloudflare-access-bypass: "true" — creates a bypass policy (no auth) - cloudflare-access-session-duration: "1h" — override default 24h - cloudflare-access-auto-redirect: "true" — skip IdP selection page
Owner
|
hey sorry for the lates response, I will take a look this PR tonight or this weekend |
Owner
|
happy hacking! |
Owner
|
thanks for your contribution! cheers! 🍻 |
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.
Builds on #277. Three new annotations for Access Application settings: