Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Change patch command
Browse files Browse the repository at this point in the history
  • Loading branch information
obabec committed Nov 26, 2020
1 parent 8ed981f commit b2fa302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function start_minikube() {

// Enable SSL passthrough support
var ingressCommand = 'kubectl';
var ingressArgs = ['patch', 'deployment', 'ingress-nginx-controller', '-n', 'kube-system', '--type=json', '-p', '\'[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--enable-ssl-passthrough"}]\''];
var ingressArgs = ['patch', 'deployment', 'ingress-nginx-controller', '-n', 'kube-system', '--type=json', '-p', '[{"op" : "add", "path" : "/spec/template/spec/containers/0/args/-", "value" : "--enable-ssl-passthrough"}]']
return execute_command(ingressCommand, ingressArgs);
}

Expand Down

0 comments on commit b2fa302

Please sign in to comment.