Skip to content

Commit

Permalink
Add kuttl
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kruse committed Nov 26, 2024
1 parent c362ac7 commit df2c090
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,17 @@ RUN . /envfile && echo $ARCH && \
chmod +x kind && \
mv kind /usr/bin/

# Install kuttl
RUN . /envfile && echo $(uname -m) && \
if [ "$ARCH" = "amd64" ] || [ "$ARCH" = "arm64" ]; then \
curl -sLo kuttl https://github.com/kudobuilder/kuttl/releases/download/v0.19.0/kubectl-kuttl_0.19.0_linux_$(uname -m) && \
chmod +x kuttl && \
mv kuttl /usr/bin/ && \
ln -s /usr/bin/kuttl /usr/bin/kubectl-kuttl; \
else \
echo "Skipping kuttl installation for $ARCH"; \
fi


COPY init.sh entrypoint.sh /app/

0 comments on commit df2c090

Please sign in to comment.