lib/metatron/templates/replica_set.rb in metatron-0.6.0 vs lib/metatron/templates/replica_set.rb in metatron-0.6.1

- old
+ new

@@ -20,15 +20,15 @@ { apiVersion:, kind:, metadata: { name:, - labels: { "#{label_namespace}/name": name }.merge(additional_labels) + labels: base_labels.merge(additional_labels) }.merge(formatted_annotations).merge(formatted_namespace), spec: { replicas:, selector: { - matchLabels: { "#{label_namespace}/name": name }.merge(additional_pod_labels) + matchLabels: base_labels.merge(additional_pod_labels) } }.merge(pod_template) } end end