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

23 lines
711 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: check-probe-exists
resource:
kind: Pod
apiVersion: v1
namespace: ''
name: probe
rules:
- name: check-readinessProbe-exists
type: Validation
2019-11-04 20:15:44 -08:00
message: Validation rule 'check-readinessProbe-exists' succeeded.
2019-08-30 00:22:37 -07:00
success: true
- name: check-livenessProbe-exists
type: Validation
2019-11-04 20:15:44 -08:00
message: Validation rule 'check-livenessProbe-exists' succeeded.
2019-08-30 00:22:37 -07:00
success: true