Class: Gitlab::Kubernetes::Helm::V2::InitCommand

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/gitlab/kubernetes/helm/v2/init_command.rb

Constant Summary

Constants inherited from BaseCommand

BaseCommand::HELM_VERSION

Instance Attribute Summary

Attributes inherited from BaseCommand

#files, #name

Instance Method Summary collapse

Methods inherited from BaseCommand

#cluster_role_binding_resource, #config_map_resource, #env, #file_names, #initialize, #pod_name, #pod_resource, #rbac?, #service_account_resource

Constructor Details

This class inherits a constructor from Gitlab::Kubernetes::Helm::V2::BaseCommand

Instance Method Details

#generate_scriptObject


8
9
10
11
12
# File 'lib/gitlab/kubernetes/helm/v2/init_command.rb', line 8

def generate_script
  super + [
    init_helm_command
  ].join("\n")
end