Add skip tls flag (#260)

This commit is contained in:
Oliver King
2022-11-23 12:59:45 -05:00
committed by GitHub
parent c875a14bde
commit 47445fb82f
6 changed files with 42 additions and 11 deletions
+2 -3
View File
@@ -8,9 +8,8 @@ import * as path from 'path'
export class PrivateKubectl extends Kubectl {
protected async execute(args: string[], silent: boolean = false) {
if (this.namespace) {
args = args.concat(['--namespace', this.namespace])
}
args = args.concat(this.getExecuteFlags())
args.unshift('kubectl')
let kubectlCmd = args.join(' ')
let addFileFlag = false