dps: Support für authelia_policy=none
This commit is contained in:
parent
a30978d20c
commit
448f645f6f
2
dps.rb
2
dps.rb
@ -56,6 +56,8 @@ class Container
|
|||||||
set :authelia, "2#{COLOR_GRAY}FA#{COLOR_RESET}"
|
set :authelia, "2#{COLOR_GRAY}FA#{COLOR_RESET}"
|
||||||
elsif @data[:Labels][:"authelia_policy"]=="bypass"
|
elsif @data[:Labels][:"authelia_policy"]=="bypass"
|
||||||
set :authelia, "#{COLOR_GREEN}BYP#{COLOR_RESET}"
|
set :authelia, "#{COLOR_GREEN}BYP#{COLOR_RESET}"
|
||||||
|
elsif @data[:Labels][:"authelia_policy"]=="none"
|
||||||
|
set :authelia, "#{COLOR_GREEN}NONE#{COLOR_RESET}"
|
||||||
else
|
else
|
||||||
set :authelia, "#{COLOR_RED}?#{COLOR_RESET}"
|
set :authelia, "#{COLOR_RED}?#{COLOR_RESET}"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user