lib/metatron/templates/secret.rb in metatron-0.2.4 vs lib/metatron/templates/secret.rb in metatron-0.2.5
- old
+ new
@@ -21,13 +21,13 @@
apiVersion:,
kind:,
metadata: {
name:,
labels: { "#{label_namespace}/name": name }.merge(additional_labels)
- }.merge(formatted_annotations).merge(formatted_namespace),
+ }.merge(formatted_annotations).merge(formatted_namespace).compact,
type:,
stringData: data
- }
+ }.compact
end
end
end
end