Module: Dapp::Kube::Dapp::Command::SecretGenerate
- Included in:
- Dapp
- Defined in:
- lib/dapp/kube/dapp/command/secret_generate.rb
Instance Method Summary collapse
- #kube_secret_generate(file_path) ⇒ Object
- #kube_secret_generate_raw_command_options(file_path) ⇒ Object
Instance Method Details
#kube_secret_generate(file_path) ⇒ Object
6 7 8 |
# File 'lib/dapp/kube/dapp/command/secret_generate.rb', line 6 def kube_secret_generate(file_path) ruby2go_deploy_command(command: :secret_generate, raw_command_options: (file_path)) end |
#kube_secret_generate_raw_command_options(file_path) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/dapp/kube/dapp/command/secret_generate.rb', line 10 def (file_path) JSON.dump({ file_path: file_path, output_file_path: [:output_file_path], values: [:values] }) end |