2021-04-09 01:14:08 +02:00
|
|
|
package mutate
|
|
|
|
|
|
|
|
// MutateTests is E2E Test Config for mutation
|
|
|
|
var MutateTests = []struct {
|
|
|
|
//TestName - Name of the Test
|
|
|
|
TestName string
|
|
|
|
// Data - The Yaml file of the ClusterPolicy
|
|
|
|
Data []byte
|
|
|
|
}{
|
|
|
|
{
|
|
|
|
TestName: "test-mutate-with-context",
|
|
|
|
Data: configMapMutationYaml,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
TestName: "test-mutate-with-logic-in-context",
|
|
|
|
Data: configMapMutationWithContextLogicYaml,
|
|
|
|
},
|
2021-04-26 23:02:52 +02:00
|
|
|
{
|
|
|
|
TestName: "test-mutate-with-context-label-selection",
|
|
|
|
Data: configMapMutationWithContextLabelSelectionYaml,
|
|
|
|
},
|
2021-04-09 01:14:08 +02:00
|
|
|
}
|