1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 02:18:15 +00:00
kyverno/.github/actions/kyverno-logs/action.yaml
Charles-Edouard Brétéché 772eff153a
chore: bump chainsaw (#11280) (#11315)
* chore: bump chainsaw



* policy lib



* more changes



* 2.11



* shards



---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-03 13:31:55 -07:00

43 lines
1.1 KiB
YAML

name: Kyverno logs
description: Show kyverno pods logs
runs:
using: composite
steps:
- shell: bash
run: |
set -e
kubectl get mutatingwebhookconfigurations
- shell: bash
run: |
set -e
kubectl get validatingwebhookconfigurations
- shell: bash
run: |
set -e
kubectl auth can-i --list --as system:serviceaccount:kyverno:kyverno-background-controller
- shell: bash
run: |
set -e
kubectl -n kyverno get pod
- shell: bash
run: |
set -e
kubectl -n kyverno describe pod | grep -i events -A10
- shell: bash
run: |
set -e
kubectl -n kyverno logs deploy/kyverno-admission-controller --all-containers
- shell: bash
run: |
set -e
kubectl -n kyverno logs deploy/kyverno-background-controller --all-containers
- shell: bash
run: |
set -e
kubectl -n kyverno logs deploy/kyverno-reports-controller --all-containers
- shell: bash
run: |
set -e
kubectl -n kyverno logs deploy/kyverno-cleanup-controller --all-containers