Class: Kubes::Kubectl::Args::Kustomize
- Inherits:
-
Base
- Object
- Base
- Kubes::Kubectl::Args::Kustomize
show all
- Defined in:
- lib/kubes/kubectl/args/kustomize.rb
Instance Method Summary
collapse
Methods inherited from Base
#args, #initialize
Instance Method Details
#apply_args ⇒ Object
Also known as:
delete_args
3
4
5
6
7
|
# File 'lib/kubes/kubectl/args/kustomize.rb', line 3
def apply_args
args = ["-k"]
args << resource_path
args
end
|
#get_args ⇒ Object
Also known as:
describe_args
10
11
12
13
14
15
|
# File 'lib/kubes/kubectl/args/kustomize.rb', line 10
def get_args
args = ["-k"]
args << resource_path
args += ["-o #{@options[:output]}"] if @options[:output]
args
end
|