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

- old
+ new

@@ -9,10 +9,10 @@ attr_accessor :replicas, :pod_annotations, :service_name, :pod_management_policy, :enable_service_links, :termination_grace_period_seconds, :additional_pod_labels - def initialize(name, replicas: 2) + def initialize(name, replicas: 1) super(name) @replicas = replicas @api_version = "apps/v1" @kind = "StatefulSet" @pod_annotations = {}