lib/metatron/templates/daemon_set.rb in metatron-0.6.0 vs lib/metatron/templates/daemon_set.rb in metatron-0.6.1
- old
+ new
@@ -19,14 +19,14 @@
{
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: {
selector: {
- matchLabels: { "#{label_namespace}/name": name }.merge(additional_pod_labels)
+ matchLabels: base_labels.merge(additional_pod_labels)
}
}.merge(pod_template)
}
end
end