Skip to content

Commit 8ca2ff3

Browse files
Roming22openshift-cherrypick-robot
authored andcommitted
fix: Add KUBECONFIG env var to the container
Having a default location will help simplify the docs. rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
1 parent 0d1b99a commit 8ca2ff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,6 @@ RUN echo "# jq" && jq --version && \
6161
echo "# kubectl" && kubectl version --client && \
6262
echo "# oc" && oc version
6363

64+
ENV KUBECONFIG=/rhtap-cli/.kube/config
65+
6466
ENTRYPOINT ["rhtap-cli"]

0 commit comments

Comments
 (0)