mirror of
https://github.com/czhu12/canine.git
synced 2025-12-30 15:49:54 -06:00
name of kubeconfig yaml
This commit is contained in:
@@ -15,8 +15,8 @@ export default class extends Controller {
|
||||
|
||||
showConnectionInstructions(event) {
|
||||
event.preventDefault();
|
||||
const text = `KUBECONFIG=/path/to/kubeconfig.yml kubectl exec -it -n ${event.target.dataset.namespace} ${event.target.dataset.podName} -- /bin/bash`
|
||||
const text = `KUBECONFIG=/path/to/${event.target.dataset.clusterName}-kubeconfig.yml kubectl exec -it -n ${event.target.dataset.namespace} ${event.target.dataset.podName} -- /bin/bash`
|
||||
this.commandTarget.textContent = text
|
||||
click_outside_modal.showModal()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user