1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: rename vap to its full name (#7929)

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
Mariam Fahmy 2023-07-28 11:02:50 +03:00 committed by GitHub
parent 0e2cbf8a01
commit 7fd2d1a5a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -176,8 +176,8 @@ func Test_Apply(t *testing.T) {
},
{
config: ApplyCommandConfig{
PolicyPaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/deployment1.yaml"},
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/deployment1.yaml"},
PolicyReport: true,
},
expectedPolicyReports: []preport.PolicyReport{
@ -194,8 +194,8 @@ func Test_Apply(t *testing.T) {
},
{
config: ApplyCommandConfig{
PolicyPaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-vap/check-deployments-replica/deployment2.yaml"},
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/check-deployments-replica/deployment2.yaml"},
PolicyReport: true,
},
expectedPolicyReports: []preport.PolicyReport{
@ -212,8 +212,8 @@ func Test_Apply(t *testing.T) {
},
{
config: ApplyCommandConfig{
PolicyPaths: []string{"../../../../test/cli/test-vap/disallow-host-path/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-vap/disallow-host-path/pod1.yaml"},
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/pod1.yaml"},
PolicyReport: true,
},
expectedPolicyReports: []preport.PolicyReport{
@ -230,8 +230,8 @@ func Test_Apply(t *testing.T) {
},
{
config: ApplyCommandConfig{
PolicyPaths: []string{"../../../../test/cli/test-vap/disallow-host-path/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-vap/disallow-host-path/pod2.yaml"},
PolicyPaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/policy.yaml"},
ResourcePaths: []string{"../../../../test/cli/test-validating-admission-policy/disallow-host-path/pod2.yaml"},
PolicyReport: true,
},
expectedPolicyReports: []preport.PolicyReport{