Skip to content

Commit

Permalink
Merge pull request #3143 from pacoxu/fix-checking-nonexist-addons
Browse files Browse the repository at this point in the history
exit 0 after checking addon configmap existences
  • Loading branch information
k8s-ci-robot authored Jan 3, 2025
2 parents 37b699a + d77539b commit 9a0f0dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ tasks:
- |
docker exec {{ .vars.clusterName }}-control-plane-1 kubectl get cm kube-proxy -n kube-system --kubeconfig /etc/kubernetes/admin.conf && exit 1
docker exec {{ .vars.clusterName }}-control-plane-1 kubectl get cm coredns -n kube-system --kubeconfig /etc/kubernetes/admin.conf && exit 1
# Ensure exit status of 0
exit 0
timeout: 5m
- name: delete
description: |
Expand Down
2 changes: 2 additions & 0 deletions kinder/ci/workflows/upgrade-no-addon-config-maps-tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ tasks:
- |
docker exec {{ .vars.clusterName }}-control-plane-1 kubectl get cm kube-proxy -n kube-system --kubeconfig /etc/kubernetes/admin.conf && exit 1
docker exec {{ .vars.clusterName }}-control-plane-1 kubectl get cm coredns -n kube-system --kubeconfig /etc/kubernetes/admin.conf && exit 1
# Ensure exit status of 0
exit 0
timeout: 5m
- name: delete
description: |
Expand Down

0 comments on commit 9a0f0dc

Please sign in to comment.