Skip to content

Commit

Permalink
fix(kubectl): diff action and differ command
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Aug 21, 2023
1 parent f6e09ec commit 460d53a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/std/fwlib/blockTypes/kubectl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ in
${build}
build
KUBECTL_EXTERNAL_DIFF="icdiff -N -u"
KUBECTL_EXTERNAL_DIFF="icdiff -N -r"
export KUBECTL_EXTERNAL_DIFF
diff() {
kubectl diff --server-side=true --field-manager="std-action-$(whoami)" ${
kubectl diff ${
if usesKustomize
then "--kustomize"
else "--filename --recursive"
Expand All @@ -140,7 +140,7 @@ in
${build}
build
KUBECTL_EXTERNAL_DIFF="icdiff -N -u"
KUBECTL_EXTERNAL_DIFF="icdiff -N -r"
export KUBECTL_EXTERNAL_DIFF
diff() {
Expand Down

0 comments on commit 460d53a

Please sign in to comment.