Merge pull request #14517 from hakman/fix_TestPolicyGeneration

aws: Fix TestPolicyGeneration output
This commit is contained in:
Kubernetes Prow Robot 2022-11-09 04:24:12 -08:00 committed by GitHub
commit bf9965d813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -163,6 +163,9 @@ func TestPolicyGeneration(t *testing.T) {
},
},
},
CloudProvider: kops.CloudProviderSpec{
AWS: &kops.AWSSpec{},
},
CloudConfig: &kops.CloudConfiguration{
AWSEBSCSIDriver: &kops.AWSEBSCSIDriver{
Enabled: fi.Bool(true),

View File

@ -9,8 +9,6 @@
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/addons/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/cluster-completed.spec",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/igconfig/node/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/pki/private/kube-proxy/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/pki/private/kubelet/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/secrets/dockerconfig"
]
},

View File

@ -9,8 +9,6 @@
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/addons/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/cluster-completed.spec",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/igconfig/node/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/pki/private/kube-proxy/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/pki/private/kubelet/*",
"arn:aws-test:s3:::kops-tests/iam-builder-test.k8s.local/secrets/dockerconfig"
]
},