Sha256: b8f09631bfac2c907e33729afede51ea835208dcccd7d9c33171038a3c7e9ca4
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
class KuberKit::Actions::KubectlApplier include KuberKit::Import[ "shell.kubectl_commands", "shell.local_shell", "ui" ] Contract String, Hash => Any def call(file_path, options) kubecfg_path = KuberKit.current_configuration.kubecfg_path ui.create_task("Applying file: #{file_path}") do |task| kubectl_commands.apply_file(local_shell, file_path, kubecfg_path: kubecfg_path) task.update_title("Applied file: #{file_path}") end nil end end
Version data entries
4 entries across 4 versions & 1 rubygems