Class: KuberKit::ServiceDeployer::ServiceReader
- Defined in:
- lib/kuber_kit/service_deployer/service_reader.rb
Instance Method Summary collapse
Instance Method Details
#read(shell, service) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/kuber_kit/service_deployer/service_reader.rb', line 9 def read(shell, service) template = template_store.get(service.template_name) context_helper = context_helper_factory.build_service_context(shell, service) template = reader.read(shell, template) result = text_preprocessor.compile(template, context_helper: context_helper) result end |