1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/scenarios/other/scenario_validate_healthChecks.yaml

25 lines
741 B
YAML
Raw Normal View History

2019-08-30 00:22:37 -07:00
# file path relative to project root
input:
2019-10-14 14:10:34 -07:00
policy: test/policy/validate/policy_validate_healthChecks.yaml
resource: test/resources/resource_validate_healthChecks.yaml
2019-08-30 00:22:37 -07:00
expected:
validation:
policyresponse:
policy:
namespace: ''
name: check-probe-exists
2019-08-30 00:22:37 -07:00
resource:
kind: Pod
apiVersion: v1
namespace: ''
name: probe
rules:
- name: check-readinessProbe-exists
type: Validation
message: validation rule 'check-readinessProbe-exists' passed.
2019-08-30 00:22:37 -07:00
success: true
- name: check-livenessProbe-exists
type: Validation
message: validation rule 'check-livenessProbe-exists' passed.
2019-08-30 00:22:37 -07:00
success: true