Commit 08ca1496 authored by Krasimir Angelov's avatar Krasimir Angelov

Mixin Validatable in Entry::Secret

instead of Configurable.

Related to https://gitlab.com/gitlab-org/gitlab/-/issues/28321 and
https://gitlab.com/gitlab-org/gitlab/-/issues/218746.
parent 89038aca
......@@ -8,7 +8,11 @@ module Gitlab
# Entry that represents a secrets definition.
#
class Secrets < ::Gitlab::Config::Entry::Node
include ::Gitlab::Config::Entry::Configurable
include ::Gitlab::Config::Entry::Validatable
validations do
validates :config, type: Hash
end
def compose!(deps = nil)
super do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment