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