gitlab-org--gitlab-foss/lib/gitlab/kubernetes/helm/init_command.rb

19 lines
322 B
Ruby

module Gitlab
module Kubernetes
module Helm
class InitCommand < BaseCommand
def generate_script
super + [
init_helm_command
].join("\n")
end
private
def init_helm_command
"helm init >/dev/null"
end
end
end
end
end