Class: Kubes::Compiler::Decorator::Pre
- Defined in:
- lib/kubes/compiler/decorator/pre.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Kubes::Compiler::Decorator::Base
Instance Method Details
#process ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/kubes/compiler/decorator/pre.rb', line 3 def process case @data['kind'] when "ConfigMap", "Secret" Hashable.new(@data).store else @data # passthrough end end |