lib/metatron/templates/pod.rb in metatron-0.1.8 vs lib/metatron/templates/pod.rb in metatron-0.1.9

- old
+ new

@@ -4,20 +4,21 @@ module Templates # Template for basic Pod k8s resource class Pod < Template include Concerns::Annotated include Concerns::PodProducer + include Concerns::Namespaced # rubocop:disable Metrics/MethodLength # rubocop:disable Metrics/AbcSize def render { apiVersion:, kind:, metadata: { labels: { "#{label_namespace}/name": name }.merge(additional_labels), name: - }.merge(formatted_annotations), + }.merge(formatted_annotations).merge(formatted_namespace), spec: { terminationGracePeriodSeconds:, containers: [ { name: "app",