Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions tests/tekton-resources/tasks/setup/eks/awscli-cp-with-pcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ spec:
value: /config/kubeconfig
steps:
- name: create-eks
# TODO temporarily using forked repos as workers are unavailable in awslabs repo to build the images
# the Dockerfile if needed is already present in the kit repo
# found here: https://github.com/awslabs/kubernetes-iteration-toolkit/blob/main/tests/images/toolkit-base/Dockerfile
image: ghcr.io/dheeraj-coding/eks-toolkit-base:1.32.10
image: alpine/k8s:1.35.0
script: |
ENDPOINT_FLAG=""
if [ -n "$(params.endpoint)" ]; then
Expand All @@ -65,21 +62,15 @@ spec:
fi
aws eks $ENDPOINT_FLAG --region $(params.region) wait cluster-active --name $(params.cluster-name)
- name: write-kubeconfig
# TODO: temporarily using forked repos as workers are unavailable in awslabs repo to build the images
# the Dockerfile if needed is already present in the kit repo
# found here: https://github.com/awslabs/kubernetes-iteration-toolkit/blob/main/tests/images/toolkit-base/Dockerfile
image: ghcr.io/dheeraj-coding/eks-toolkit-base:1.32.10
image: alpine/k8s:1.35.0
script: |
ENDPOINT_FLAG=""
if [ -n "$(params.endpoint)" ]; then
ENDPOINT_FLAG="--endpoint $(params.endpoint)"
fi
aws eks $ENDPOINT_FLAG update-kubeconfig --name $(params.cluster-name) --region $(params.region)
- name: install-addons-and-validate
# TODO temporarily using forked repos as workers are unavailable in awslabs repo to build the images
# the Dockerfile if needed is already present in the kit repo
# found here: https://github.com/awslabs/kubernetes-iteration-toolkit/blob/main/tests/images/toolkit-base/Dockerfile
image: ghcr.io/dheeraj-coding/eks-toolkit-base:1.32.10
image: alpine/k8s:1.35.0
script: |
# enable PD on the cluster
kubectl api-versions
Expand Down