Merge pull request #6931 from mheon/apply_sigproxy

Ensure sig-proxy default is propagated in start
This commit is contained in:
OpenShift Merge Robot
2020-07-14 19:44:56 +02:00
committed by GitHub

View File

@ -82,6 +82,7 @@ func start(cmd *cobra.Command, args []string) error {
if cmd.Flag("sig-proxy").Changed {
sigProxy = startOptions.SigProxy
}
startOptions.SigProxy = sigProxy
if sigProxy && !startOptions.Attach {
return errors.Wrapf(define.ErrInvalidArg, "you cannot use sig-proxy without --attach")