Skip to content

Commit

Permalink
Add ENV GOTTY_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiang-fit2cloud committed Oct 23, 2019
1 parent 4bc1752 commit 2da3dd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN apt-get update && \
ENV SESSION_STORAGE_SIZE=10M
ENV WELCOME_BANNER="Welcome to Web Kubectl, try kubectl --help."
ENV KUBECTL_INSECURE_SKIP_TLS_VERIFY=true
ENV GOTTY_OPTIONS="--port 8080 --permit-write --permit-arguments"

COPY start-webkubectl.sh /
RUN chmod +x /start-webkubectl.sh
Expand Down
2 changes: 1 addition & 1 deletion start-webkubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ if [ ${KUBECTL_INSECURE_SKIP_TLS_VERIFY} == "true" ];then
fi


gotty --port 8080 --permit-write --permit-arguments ${GOTTY_OPTIONS} /start-session.sh
gotty ${GOTTY_OPTIONS} /start-session.sh

0 comments on commit 2da3dd8

Please sign in to comment.