Skip to content

Commit a03fbe0

Browse files
committed
fix: kubectl diff exit code
1 parent 39b7652 commit a03fbe0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/k8s_deploy.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,8 @@ jobs:
9797
use-kubelogin: 'true'
9898

9999
- name: Generate Kustomization
100-
shell: bash {0}
101-
run: |
102-
set +e
103-
kubectl kustomize ${{ env.KUBERNETES_MANIFEST_PATH }} --output apply.yml
104-
kubectl diff --filename apply.yml
100+
shell: bash
101+
run: kubectl diff --kustomize ${{ env.KUBERNETES_MANIFEST_PATH }} || true
105102

106103
- name: Generate Deployment
107104
uses: Azure/k8s-deploy@v5

0 commit comments

Comments
 (0)