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

- old
+ new

@@ -7,11 +7,11 @@ include Concerns::Annotated include Concerns::PodProducer attr_accessor :replicas, :pod_annotations, :service_name, :pod_management_policy, :enable_service_links, - :termination_grace_period_seconds, :additional_pod_labels + :additional_pod_labels def initialize(name, replicas: 1) super(name) @replicas = replicas @api_version = "apps/v1" @@ -19,15 +19,13 @@ @pod_annotations = {} @pod_management_policy = "OrderedReady" @additional_pod_labels = {} @enable_service_links = true @service_name = name - @termination_grace_period_seconds = 60 end alias enableServiceLinks enable_service_links alias podManagementPolicy pod_management_policy - alias terminationGracePeriodSeconds termination_grace_period_seconds alias serviceName service_name def formatted_pod_annotations pod_annotations && !pod_annotations.empty? ? { annotations: pod_annotations } : {} end