1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/.github/actions/kyverno-logs/action.yaml

24 lines
730 B
YAML
Raw Normal View History

name: Kyverno logs
description: Show kyverno pods logs
runs:
using: composite
steps:
- shell: bash
run: |
kubectl get mutatingwebhookconfigurations
kubectl get validatingwebhookconfigurations
- shell: bash
run: |
kubectl -n kyverno get pod
kubectl -n kyverno describe pod | grep -i events -A10
- shell: bash
run: |
kubectl -n kyverno logs deploy/kyverno --all-containers -p || true
kubectl -n kyverno logs deploy/kyverno-cleanup-controller --all-containers -p || true
- shell: bash
run: |
kubectl -n kyverno logs deploy/kyverno --all-containers
kubectl -n kyverno logs deploy/kyverno-cleanup-controller --all-containers