mounting kubeconfig as a secret at /home/claw/.kube
This commit is contained in:
@@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y curl wget git jq un
|
||||
# Install yq (binary release for latest version)
|
||||
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq
|
||||
RUN wget https://downloads-openshift-console.apps.lab.apilab.us/amd64/linux/oc.tar -O /tmp/oc.tar && tar -xvf /tmp/oc.tar -C /usr/bin/ && rm /tmp/oc.tar && chmod +x /usr/bin/oc
|
||||
ENV KUBECONFIG=/data/.kube/config
|
||||
|
||||
# Setup SSH directory & Config for OpenShift (Random UID support)
|
||||
RUN mkdir -p /var/run/sshd && chmod 775 /var/run/sshd
|
||||
|
||||
Reference in New Issue
Block a user