Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 7 additions & 5 deletions Dockerfile.lambda
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ RUN make kubeapply-lambda VERSION_REF=${VERSION_REF} && \
cp build/kubeapply-lambda /usr/local/bin

# Copy into final image
FROM public.ecr.aws/lambda/go:1
FROM public.ecr.aws/lambda/provided:al2

RUN yum install -y git && \
python3 --version
RUN yum install -y git unzip

RUN curl -O https://bootstrap.pypa.io/pip/3.6/get-pip.py && python3 get-pip.py
RUN pip3 install awscli
# Not sure if awscli is needed for running lambda, but keeping it here for now
RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip \
&& unzip awscliv2.zip \
&& ./aws/install \
&& rm -rf aws awscliv2.zip

COPY --from=builder \
/usr/local/bin/aws-iam-authenticator \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: Deployment
metadata:
labels:
app: alb-ingress-controller
name: alb-ingress-controller-RELEASE-NAME
name: alb-ingress-controller-release-name
namespace: kube-system
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: Deployment
metadata:
labels:
app: alb-ingress-controller
name: alb-ingress-controller-RELEASE-NAME
name: alb-ingress-controller-release-name
namespace: kube-system
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: Deployment
metadata:
labels:
app: alb-ingress-controller
name: alb-ingress-controller-RELEASE-NAME
name: alb-ingress-controller-release-name
namespace: kube-system
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: Deployment
metadata:
labels:
app: alb-ingress-controller
name: alb-ingress-controller-RELEASE-NAME
name: alb-ingress-controller-release-name
namespace: kube-system
spec:
replicas: 1
Expand Down