Closed
Description
Right now, we set the kubectx config for k3s in VMs to be the default:
gitpod/.werft/jobs/build/deploy-to-preview-environment.ts
Lines 122 to 125 in 3d4e0e4
This prevent us from accessing core-dev later.
Proposed solution:
- all invocations of
kubectl
should have an explicit--kubeconfig <kubectxfile>
arg. - there should not be a default kubecontext so that invocations of
kubectl
without explicit--kubeconfig <kubectxfile>
fail. This is for robustness: don't accidentally use the wrong context.
Metadata
Metadata
Assignees
Labels
No labels