Sha256: b65c975561f7d51cb58475c9099f8a4671c7b1e6e08e233be7f56d764a69949f

Contents?: true

Size: 243 Bytes

Versions: 13

Compression:

Stored size: 243 Bytes

Contents

module Kubes::Compiler::Decorator
  class Compile < Base
    def process(item)
      case item['kind']
      when "ConfigMap", "Secret"
        Resources::Secret.new(item).run
      else
        item # pass through
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kubes-0.3.5 lib/kubes/compiler/decorator/compile.rb
kubes-0.3.4 lib/kubes/compiler/decorator/compile.rb
kubes-0.3.3 lib/kubes/compiler/decorator/compile.rb
kubes-0.3.2 lib/kubes/compiler/decorator/compile.rb
kubes-0.3.1 lib/kubes/compiler/decorator/compile.rb
kubes-0.3.0 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.6 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.5 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.4 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.3 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.2 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.1 lib/kubes/compiler/decorator/compile.rb
kubes-0.2.0 lib/kubes/compiler/decorator/compile.rb