Module: Dapp::Kube::Dapp::Command::SecretEdit

Included in:
Dapp
Defined in:
lib/dapp/kube/dapp/command/secret_edit.rb

Instance Method Summary collapse

Instance Method Details

#kube_secret_edit(file_path) ⇒ Object



6
7
8
# File 'lib/dapp/kube/dapp/command/secret_edit.rb', line 6

def kube_secret_edit(file_path)
  ruby2go_deploy_command(command: :secret_edit, options: kube_secret_edit_command_options(file_path))
end

#kube_secret_edit_command_options(file_path) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/dapp/kube/dapp/command/secret_edit.rb', line 10

def kube_secret_edit_command_options(file_path)
  {
    tmp_dir: _ruby2go_tmp_dir,
    file_path: file_path,
    values: options[:values]
  }
end