Skip to content

Commit

Permalink
Try client-side apply
Browse files Browse the repository at this point in the history
  • Loading branch information
timothysmith0609 committed Jan 29, 2024
1 parent 7c30468 commit 2bf697d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krane/resource_deployer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def apply_all(resources, prune, dry_run: false)
@prune_allowlist.each { |type| command.push("#{allow_list_flag}=#{type}") }
end

command.push(kubectl.dry_run_flag) if dry_run
command.push("--dry-run=client") if dry_run
output_is_sensitive = resources.any?(&:sensitive_template_content?)
global_mode = resources.all?(&:global?)
out, err, st = kubectl.run(*command, log_failure: false, output_is_sensitive: output_is_sensitive,
Expand Down

0 comments on commit 2bf697d

Please sign in to comment.