Skip to content

Commit 4e03c5b

Browse files
committed
ci: ensure must-gather runs irrespective of failure
This commit ensures that must-gather runs irrespective of failure. It also adds the kube related config to the k8s configmap which was missing in #2153 Signed-off-by: vprashar2929 <[email protected]>
1 parent d7c7e66 commit 4e03c5b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/k8s/action.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ runs:
129129
done
130130
131131
- name: Run must gather
132-
if: failure()
133132
shell: bash
134133
run: |
135134
echo "::group::Get pods in kepler namespace"

.github/workflows/k8s-equinix.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
done
183183
184184
- name: Run must gather
185-
if: failure()
185+
if: always()
186186
shell: bash
187187
run: |
188188
echo "::group::Get pods in kepler namespace"

manifests/k8s/configmap.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ data:
3131
debug:
3232
pprof:
3333
enabled: false
34+
kube:
35+
enabled: false
36+
config: ""
37+
nodeName: ""
3438
dev:
3539
fake-cpu-meter:
3640
enabled: false

0 commit comments

Comments
 (0)