Correct secret files order
This commit is contained in:
committed by
Donal McBreen
parent
1d0e81b00a
commit
5480b40ba3
@@ -3,8 +3,7 @@ class Kamal::Configuration::Secrets
|
|||||||
|
|
||||||
def initialize(destination: nil)
|
def initialize(destination: nil)
|
||||||
@secret_files = \
|
@secret_files = \
|
||||||
(destination ? [ ".kamal/secrets", ".kamal/secrets.#{destination}" ] : [ ".kamal/secrets" ])
|
(destination ? [ ".kamal/secrets.#{destination}", ".kamal/secrets" ] : [ ".kamal/secrets" ])
|
||||||
.select { |file| File.exist?(file) }
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def [](key)
|
def [](key)
|
||||||
|
|||||||
Reference in New Issue
Block a user