Class: Gitlab::Kubernetes::Helm::ResetCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Gitlab::Kubernetes::Helm::ResetCommand
- Includes:
- ClientCommand
- Defined in:
- lib/gitlab/kubernetes/helm/reset_command.rb
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
Methods included from ClientCommand
#init_command, #repository_command
Methods inherited from BaseCommand
#cluster_role_binding_resource, #config_map_resource, #file_names, #initialize, #pod_resource, #rbac?, #service_account_resource
Constructor Details
This class inherits a constructor from Gitlab::Kubernetes::Helm::BaseCommand
Instance Method Details
#generate_script ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/gitlab/kubernetes/helm/reset_command.rb', line 9 def generate_script super + [ reset_helm_command, delete_tiller_replicaset, delete_tiller_clusterrolebinding ].join("\n") end |
#pod_name ⇒ Object
17 18 19 |
# File 'lib/gitlab/kubernetes/helm/reset_command.rb', line 17 def pod_name "uninstall-#{name}" end |