dps: Support für authelia_policy=none

This commit is contained in:
Fabian Schlenz 2022-11-02 13:05:58 +01:00
parent a30978d20c
commit 448f645f6f
1 changed files with 2 additions and 0 deletions

2
dps.rb
View File

@ -56,6 +56,8 @@ class Container
set :authelia, "2#{COLOR_GRAY}FA#{COLOR_RESET}"
elsif @data[:Labels][:"authelia_policy"]=="bypass"
set :authelia, "#{COLOR_GREEN}BYP#{COLOR_RESET}"
elsif @data[:Labels][:"authelia_policy"]=="none"
set :authelia, "#{COLOR_GREEN}NONE#{COLOR_RESET}"
else
set :authelia, "#{COLOR_RED}?#{COLOR_RESET}"
end