Module: Dependabot::Docker::Utils

Extended by:
T::Sig
Defined in:
lib/dependabot/docker/utils/helpers.rb,
lib/dependabot/docker/utils/credentials_finder.rb

Defined Under Namespace

Classes: CredentialsFinder

Constant Summary collapse

HELM_REGEXP =
/values[\-a-zA-Z_0-9]*\.ya?ml$/i

Class Method Summary collapse

Class Method Details

.likely_helm_chart?(file) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/dependabot/docker/utils/helpers.rb', line 14

def self.likely_helm_chart?(file)
  file.name.match?(HELM_REGEXP)
end