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