-
Notifications
You must be signed in to change notification settings - Fork 72
feat(authelia): add port for authelia url #361
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
base: master
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThe Helm template for Authelia ingress host generation now conditionally appends a port to the hostname based on the provided values. If a SubDomain exists, it uses SubDomain.Domain[:Port]; otherwise, Domain[:Port]. A newline was added at EOF for the standard ingress block. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User as Values.yaml
participant Helm as Helm Templating
participant Template as _ingress.tpl
participant Output as Rendered Host
User->>Helm: Provide Domain, SubDomain, Port
Helm->>Template: Render with values
alt SubDomain set
alt Port > 0
Template->>Output: host = SubDomain.Domain:Port
else Port <= 0 or unset
Template->>Output: host = SubDomain.Domain
end
else No SubDomain
alt Port > 0
Template->>Output: host = Domain:Port
else Port <= 0 or unset
Template->>Output: host = Domain
end
end
note over Template,Output: Port is cast to int and formatted with %d
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (1)
🔇 Additional comments (2)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Add port for authelia url, like: