1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/.github/actions/kyverno-logs/action.yaml
gcp-cherry-pick-bot[bot] 182eccea3d
chore: use gh composite actions (#5885) (#5893)
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2023-01-05 12:15:32 +00:00

23 lines
730 B
YAML

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