1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/scenarios/samples/best_practices/require_probes.yaml

18 lines
444 B
YAML
Raw Normal View History

2019-10-09 17:49:00 -07:00
# file path relative to project root
input:
policy: samples/best_practices/require_probes.yaml
2019-10-14 14:10:34 -07:00
resource: test/resources/require_probes.yaml
2019-10-09 17:49:00 -07:00
expected:
validation:
policyresponse:
2019-11-10 21:18:17 -08:00
policy: require-pod-probes
2019-10-09 17:49:00 -07:00
resource:
kind: Pod
apiVersion: v1
namespace: ''
name: myapp-pod
rules:
2019-11-10 21:18:17 -08:00
- name: validate-livenessProbe-readinessProbe
2019-10-09 17:49:00 -07:00
type: Validation
success: false