mirror of
https://github.com/kyverno/kyverno.git
synced 2025-01-20 18:52:16 +00:00
fix: rename vap to its full name (#7929)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
0e2cbf8a01
commit
7fd2d1a5a3
7 changed files with 8 additions and 8 deletions
|
@ -176,8 +176,8 @@ func Test_Apply(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
config: ApplyCommandConfig{
|
config: ApplyCommandConfig{
|
||||||
PolicyPaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/policy.yaml"},
|
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/policy.yaml"},
|
||||||
ResourcePaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/deployment1.yaml"},
|
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/deployment1.yaml"},
|
||||||
PolicyReport: true,
|
PolicyReport: true,
|
||||||
},
|
},
|
||||||
expectedPolicyReports: []preport.PolicyReport{
|
expectedPolicyReports: []preport.PolicyReport{
|
||||||
|
@ -194,8 +194,8 @@ func Test_Apply(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
config: ApplyCommandConfig{
|
config: ApplyCommandConfig{
|
||||||
PolicyPaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/policy.yaml"},
|
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/policy.yaml"},
|
||||||
ResourcePaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/deployment2.yaml"},
|
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/deployment2.yaml"},
|
||||||
PolicyReport: true,
|
PolicyReport: true,
|
||||||
},
|
},
|
||||||
expectedPolicyReports: []preport.PolicyReport{
|
expectedPolicyReports: []preport.PolicyReport{
|
||||||
|
@ -212,8 +212,8 @@ func Test_Apply(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
config: ApplyCommandConfig{
|
config: ApplyCommandConfig{
|
||||||
PolicyPaths: []string{"../../../../test/cli/test-vap/disallow-host-path/policy.yaml"},
|
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/policy.yaml"},
|
||||||
ResourcePaths: []string{"../../../../test/cli/test-vap/disallow-host-path/pod1.yaml"},
|
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/pod1.yaml"},
|
||||||
PolicyReport: true,
|
PolicyReport: true,
|
||||||
},
|
},
|
||||||
expectedPolicyReports: []preport.PolicyReport{
|
expectedPolicyReports: []preport.PolicyReport{
|
||||||
|
@ -230,8 +230,8 @@ func Test_Apply(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
config: ApplyCommandConfig{
|
config: ApplyCommandConfig{
|
||||||
PolicyPaths: []string{"../../../../test/cli/test-vap/disallow-host-path/policy.yaml"},
|
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/policy.yaml"},
|
||||||
ResourcePaths: []string{"../../../../test/cli/test-vap/disallow-host-path/pod2.yaml"},
|
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/pod2.yaml"},
|
||||||
PolicyReport: true,
|
PolicyReport: true,
|
||||||
},
|
},
|
||||||
expectedPolicyReports: []preport.PolicyReport{
|
expectedPolicyReports: []preport.PolicyReport{
|
||||||
|
|
Loading…
Add table
Reference in a new issue