lib/metatron/templates/cluster_role.rb in metatron-0.6.0 vs lib/metatron/templates/cluster_role.rb in metatron-0.6.1
- old
+ new
@@ -20,10 +20,10 @@
{
apiVersion:,
kind:,
metadata: {
name:,
- labels: { "#{label_namespace}/name": name }.merge(additional_labels)
+ labels: base_labels.merge(additional_labels)
}.merge(formatted_annotations).compact,
aggregationRule:,
rules: formatted_rules
}.compact
end