Skip to content
Snippets Groups Projects
Commit 6d0f6739 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Reduce security: skip certificate verification

parent 970975b2
No related branches found
No related tags found
1 merge request!72WIP Kube exec proxy
Pipeline #
Loading
Loading
@@ -142,9 +142,10 @@ func (s *session) kubectl(args ...string) []string {
// TODO this is INSECURE because it leaks the token via the process status line
kubectlBase := []string{
"kubectl",
"--insecure-skip-tls-verify",
"--server=" + s.OpenshiftServer,
"--token=" + s.OpenshiftToken,
"-n" + s.OpenshiftProject,
"--namespace=" + s.OpenshiftProject,
}
return append(kubectlBase, args...)
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment