Update nginx image

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-02-09 18:53:31 -03:00
parent 5c4854b537
commit 7dc17a603d
3 changed files with 7 additions and 8 deletions

View file

@ -17,11 +17,12 @@ limitations under the License.
package controller
import (
"k8s.io/apimachinery/pkg/util/intstr"
"os"
"os/exec"
"syscall"
"k8s.io/apimachinery/pkg/util/intstr"
"fmt"
"k8s.io/klog"
@ -108,10 +109,5 @@ func nginxExecCommand(args ...string) *exec.Cmd {
}
func nginxTestCommand(cfg string) *exec.Cmd {
ngx := os.Getenv("NGINX_BINARY")
if ngx == "" {
ngx = defBinary
}
return exec.Command("authbind", "--deep", ngx, "-c", cfg, "-t")
return exec.Command(defBinary, "-c", cfg, "-t")
}