mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 01:16:55 +00:00
35 lines
1.1 KiB
Go
35 lines
1.1 KiB
Go
package testrunner
|
|
|
|
import "testing"
|
|
|
|
func Test_Mutate_EndPoint(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_mutate_endPpoint.yaml")
|
|
}
|
|
|
|
func Test_Mutate_imagePullPolicy(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_mutate_imagePullPolicy.yaml")
|
|
}
|
|
|
|
func Test_Mutate_Validate_qos(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_mutate_validate_qos.yaml")
|
|
}
|
|
|
|
func Test_validate_containerSecurityContext(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_validate_containerSecurityContext.yaml")
|
|
}
|
|
|
|
func Test_validate_healthChecks(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_validate_healthChecks.yaml")
|
|
}
|
|
|
|
func Test_validate_imageRegistries(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_validate_imageRegistries.yaml")
|
|
}
|
|
|
|
func Test_validate_nonRootUsers(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_validate_nonRootUser.yaml")
|
|
}
|
|
|
|
func Test_generate_networkPolicy(t *testing.T) {
|
|
testScenario(t, "/test/scenarios/test/scenario_generate_networkPolicy.yaml")
|
|
}
|