Skip to content

Commit 1b0431e

Browse files
committed
fix: CI/CD pipeline validate k3s manifests 2
1 parent 1ef66f8 commit 1b0431e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
4242
- name: Validate Kubernetes manifests
4343
run: |
44-
for file in prometheus-service.yml *.yaml; do \
45-
[ -e "$file" ] || continue \
46-
kubectl apply -f "$file" --dry-run=client \
44+
for file in prometheus-service.yml *.yaml; do
45+
[ -e "$file" ] || continue
46+
kubectl apply -f "$file" --dry-run=client --validate=false
4747
done

0 commit comments

Comments
 (0)