lib/metatron/templates/pod.rb in metatron-0.1.2 vs lib/metatron/templates/pod.rb in metatron-0.1.3

- old
+ new

@@ -10,20 +10,22 @@ def initialize(name) super(name) @kind = "Pod" end + # 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), spec: { + terminationGracePeriodSeconds:, containers: [ { name: "app", image:, imagePullPolicy:, @@ -39,8 +41,9 @@ ] + additional_containers }.merge(formatted_volumes).merge(formatted_security_context) } end # rubocop:enable Metrics/AbcSize + # rubocop:enable Metrics/MethodLength end end end