Sha256: 1a8ade176fa3078fa198fd32aafa22800ab0dbc5b1199b527eab06e3740be31a
Contents?: true
Size: 610 Bytes
Versions: 13
Compression:
Stored size: 610 Bytes
Contents
require 'picsolve_docker_builder/base' module PicsolveDockerBuilder module Helpers module Kubernetes # A generic kuberntes resource class Resource include PicsolveDockerBuilder::Base def initialize(image, kubernetes) @image = image @kubernetes = kubernetes end def client @kubernetes.client end def template_labels { 'name' => @image.name, 'app_name' => @image.composer.app_name, 'stage' => @image.composer.stage } end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems