diff --git a/Dockerfile b/Dockerfile index 20d7870..e5d3f15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:1.27 +FROM nginx:1.27-alpine -RUN apt update && \ - apt install awscli less -y +RUN apk update && \ +apk add aws-cli less postgresql14-client diff --git a/README.md b/README.md index 231c2af..03656a1 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Replace , , and test-irsa-ns (Namespace) and - Apply test-irsa.yaml to your EKS cluster: ```bash +kubectl config set-context --current --namespace= kubectl apply -f test-irsa.yaml ``` @@ -49,8 +50,9 @@ This will create a namespace called *test-irsa-ns* with a pod inside. ### Get inside the pod ```bash -POD_NAME=$(kubectl get pod -n test-irsa-ns --no-headers -o custom-columns='NAME:.metadata.name') -kubectl --namespace test-irsa-ns exec --stdin --tty $POD_NAME -- /bin/bash +kubectl config set-context --current --namespace= +POD_NAME=$(kubectl get pod --no-headers -o custom-columns='NAME:.metadata.name') +kubectl exec --stdin --tty $POD_NAME -- /bin/bash ``` ### Find your IAM identity