Commit 93f30155 authored by Mayra Cabrera's avatar Mayra Cabrera

Revert "Fix ee extension relying BaseCommand being a class."

This reverts commit 9981781b.
parent 2b508b4f
......@@ -3,15 +3,7 @@ require_dependency 'gitlab/kubernetes/helm.rb'
module Gitlab
module Kubernetes
module Helm
class GetCommand
include BaseCommand
attr_reader :name
def initialize(name)
@name = name
end
class GetCommand < BaseCommand
def config_map?
true
end
......
......@@ -3,13 +3,11 @@ require_dependency 'gitlab/kubernetes/helm.rb'
module Gitlab
module Kubernetes
module Helm
class UpgradeCommand
include BaseCommand
attr_reader :name, :chart, :version, :repository, :values
class UpgradeCommand < BaseCommand
attr_reader :chart, :version, :repository, :values
def initialize(name, chart:, values:, version: nil, repository: nil)
@name = name
super(name)
@chart = chart
@version = version
@values = values
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment