Sha256: 44dcbcb46a32b7ea273140176545a13048f48626b6efb2b3f3ef60b7db57f9dc
Contents?: true
Size: 499 Bytes
Versions: 4
Compression:
Stored size: 499 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) kubeconfig_path = KuberKit.current_configuration.kubeconfig_path ui.create_task("Applying file: #{file_path}") do |task| kubectl_commands.apply_file(local_shell, file_path, kubeconfig_path: kubeconfig_path) task.update_title("Applied file: #{file_path}") end nil end end
Version data entries
4 entries across 4 versions & 1 rubygems