File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,24 @@ helm upgrade --install mj ../helm/wrongsecrets-ctf-party \
139
139
140
140
# Install CTFd
141
141
142
+ echo " Installing EBS CSI driver"
143
+ eksctl create iamserviceaccount \
144
+ --name ebs-csi-controller-sa \
145
+ --namespace kube-system \
146
+ --cluster $CLUSTERNAME \
147
+ --attach-policy-arn arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy \
148
+ --approve \
149
+ --role-only \
150
+ --role-name AmazonEKS_EBS_CSI_DriverRole
151
+ --region $AWS_REGION
152
+
153
+ echo " managing EBS CSI Driver as a separate eks addon"
154
+ eksctl create addon --name aws-ebs-csi-driver \
155
+ --cluster $CLUSTERNAME \
156
+ --service-account-role-arn arn:aws:iam::${ACCOUNT_ID} :role/AmazonEKS_EBS_CSI_DriverRole \
157
+ --force \
158
+ --region $AWS_REGION
159
+
142
160
export HELM_EXPERIMENTAL_OCI=1
143
161
kubectl create namespace ctfd
144
162
helm -n ctfd install ctfd oci://ghcr.io/bman46/ctfd/ctfd \
You can’t perform that action at this time.
0 commit comments