Sha256: 9e4ce15a9a0cc95355c1953a346a7b4c75a9f04a8aef47fd97061db94024549e
Contents?: true
Size: 311 Bytes
Versions: 45
Compression:
Stored size: 311 Bytes
Contents
class Kubes::Kubectl class Kustomize class << self extend Memoist def detect? expr = "#{Kubes.root}/.kubes/resources/**/*" !!Dir.glob(expr).detect { |p| p.include?("kustomization.y") } # allow for both .yml and .yaml to work end memoize :detect? end end end
Version data entries
45 entries across 45 versions & 1 rubygems