aws: Fix TestPolicyGeneration output

This commit is contained in:
Ciprian Hacman 2022-11-09 08:58:34 +02:00
parent a0ea417ea3
commit e6f9b45c78
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"
]
},