mounting kubeconfig as a secret at /home/claw/.kube

This commit is contained in:
2026-02-02 19:53:51 +11:00
parent da9be91d51
commit 3a5333330c
2 changed files with 4 additions and 2 deletions

View File

@@ -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