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
commit a9a751feef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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")