Skip to content

Commit

Permalink
Change def storage class
Browse files Browse the repository at this point in the history
  • Loading branch information
akondur committed Oct 25, 2024
1 parent 2b0ae6f commit e6979ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/deploy-eks-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ function createCluster() {
kubectl annotate serviceaccount -n $namespace $service_account eks.amazonaws.com/role-arn=arn:aws:iam::$account_id:role/${rolename}
eksctl create addon --name aws-ebs-csi-driver --cluster ${TEST_CLUSTER_NAME} --service-account-role-arn arn:aws:iam::$account_id:role/${rolename} --force
eksctl utils update-cluster-logging --cluster ${TEST_CLUSTER_NAME}
# CSPL-2887 - Patch the default storage class to gp2
kubectl patch storageclass gp2 -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
else
echo "Retrieving kubeconfig for ${TEST_CLUSTER_NAME}"
# Cluster exists but kubeconfig may not
Expand Down

0 comments on commit e6979ec

Please sign in to comment.