lib/metatron/templates/service.rb in metatron-0.1.4 vs lib/metatron/templates/service.rb in metatron-0.1.5
- old
+ new
@@ -9,10 +9,9 @@
attr_accessor :type, :selector, :additional_labels, :ports,
:additional_selector_labels, :publish_not_ready_addresses
def initialize(name, port = nil)
super(name)
- @kind = "Service"
@type = "ClusterIP"
@selector = { "#{label_namespace}/name": name }
@additional_labels = {}
@additional_selector_labels = {}
@publish_not_ready_addresses = false