Move some Gitlab::Ci::Config::Entry::Job ALLOWED _KEYS to EE
The following discussion from !63370 (merged) should be addressed:
-
Add moving secrets: job[:secrets]
toee/lib/ee/gitlab/ci/yaml_processor/result.rb
-
@furkanayhan started a discussion: (+1 comment) Done I am not sure how important it is but do you think we should handle this in EE.
We can add a class method and override like;
# lib/gitlab/ci/config/entry/job.rb def self.allowed_keys ALLOWED_KEYS end # ee/lib/ee/gitlab/ci/config/entry/job.rb EE_ALLOWED_KEYS = %i[dast_configuration secrets].freeze def self.allowed_keys super + EE_ALLOWED_KEYS end
I'll create a follow-up issue for this.
Edited by Marcos Rocha