debian-mirror-gitlab/lib/gitlab/kubernetes/helm/init_command.rb

20 lines
322 B
Ruby
Raw Normal View History

2018-03-27 19:54:05 +05:30
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