Skip to content

Commit

Permalink
Merge pull request #516 from FabianKramm/main
Browse files Browse the repository at this point in the history
fix: kubernetes namespace option
  • Loading branch information
FabianKramm authored Jul 14, 2023
2 parents ae14da3 + 4f7a17d commit 8e5332a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/kubernetes/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ options:
KUBERNETES_NAMESPACE:
description: The kubernetes namespace to use
command: |-
NAMESPACE=$(KUBECONFIG=${KUBERNETES_CONFIG} ${KUBECTL_PATH} config view --context=${KUBERNETES_CONTEXT} --minify -o jsonpath='{..namespace}' 2>/dev/null || true)
NAMESPACE=$(${KUBECTL_PATH} config view --kubeconfig=${KUBERNETES_CONFIG} --context=${KUBERNETES_CONTEXT} --minify -o jsonpath='{..namespace}' 2>/dev/null || true)
if [ -z "${NAMESPACE}" ]; then
NAMESPACE=devpod
fi
Expand Down

0 comments on commit 8e5332a

Please sign in to comment.