diff options
Diffstat (limited to 'app/models/clusters/applications/ingress.rb')
-rw-r--r-- | app/models/clusters/applications/ingress.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/models/clusters/applications/ingress.rb b/app/models/clusters/applications/ingress.rb index 27550616002..034b178d67d 100644 --- a/app/models/clusters/applications/ingress.rb +++ b/app/models/clusters/applications/ingress.rb @@ -17,12 +17,11 @@ module Clusters include AfterCommitQueue include UsageStatistics - default_value_for :ingress_type, :nginx - default_value_for :version, VERSION + attribute :version, default: VERSION enum ingress_type: { nginx: 1 - } + }, _default: :nginx FETCH_IP_ADDRESS_DELAY = 30.seconds |