Skip to content

Commit

Permalink
change secret handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Mar 21, 2024
1 parent 8d3880e commit c410899
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM python:3.11.6-alpine
ARG KUBECONFIG_CONTENT
ENV KUBECONFIG_CONTENT ${KUBECONFIG_CONTENT}
USER root
RUN adduser -D kfkuser
RUN pip install strimzi-kafka-cli==0.1.0a76
USER kfkuser
RUN mkdir /home/kfkuser/.kube
RUN echo "$KUBECONFIG_CONTENT" > /home/kfkuser/.kube/config
RUN echo "${KUBECONFIG_CONTENT}" > /home/kfkuser/.kube/config
RUN kfk --version

0 comments on commit c410899

Please sign in to comment.