diff --git a/hack/e2e/run.sh b/hack/e2e/run.sh index cc4a992c5..e8f5cf20f 100755 --- a/hack/e2e/run.sh +++ b/hack/e2e/run.sh @@ -52,7 +52,7 @@ K8S_VERSION_KOPS=${K8S_VERSION_KOPS:-${K8S_VERSION:-1.27.3}} K8S_VERSION_EKSCTL=${K8S_VERSION_EKSCTL:-${K8S_VERSION:-1.27}} KOPS_VERSION=${KOPS_VERSION:-1.27.0-beta.3} -KOPS_STATE_FILE=${KOPS_STATE_FILE:-s3://k8s-kops-csi-e2e} +KOPS_STATE_FILE=${KOPS_STATE_FILE:-s3://k8s-kops-csi-shared-e2e} KOPS_PATCH_FILE=${KOPS_PATCH_FILE:-./hack/kops-patch.yaml} KOPS_PATCH_NODE_FILE=${KOPS_PATCH_NODE_FILE:-./hack/kops-patch-node.yaml} diff --git a/hack/kops-patch.yaml b/hack/kops-patch.yaml index 39d183239..ee224b692 100644 --- a/hack/kops-patch.yaml +++ b/hack/kops-patch.yaml @@ -7,10 +7,19 @@ spec: "Action": [ "elasticfilesystem:CreateAccessPoint", "elasticfilesystem:DeleteAccessPoint", - "elasticfilesystem:DescribeFileSystems", - "elasticfilesystem:DescribeAccessPoints", "elasticfilesystem:DescribeMountTargets", - "ec2:DescribeAvailabilityZones" + "ec2:DescribeAvailabilityZones", + "elasticfilesystem:DescribeMountTargets", + "elasticfilesystem:DescribeAccessPoints", + "elasticfilesystem:DescribeFileSystems", + "elasticfilesystem:ClientMount", + "elasticfilesystem:ClientWrite", + "elasticfilesystem:CreateTags", + "elasticfilesystem:CreateMountTarget", + "elasticfilesystem:DeleteMountTarget", + "elasticfilesystem:DeleteTags", + "elasticfilesystem:TagResource", + "elasticfilesystem:UntagResource" ], "Resource": "*" }