summaryrefslogtreecommitdiff
path: root/cmd/podman/images/push.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-10-16 04:56:27 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-10-19 05:55:11 -0400
commit3d2ad0f97a35617f76f30d02bbfa8aa1a7c1f958 (patch)
treea202c1cba3f66ecd51f95d1be9bdf24febd06681 /cmd/podman/images/push.go
parent7ffcab0854342844a44b2668bd9d98849bf935c8 (diff)
downloadpodman-3d2ad0f97a35617f76f30d02bbfa8aa1a7c1f958.tar.gz
podman-3d2ad0f97a35617f76f30d02bbfa8aa1a7c1f958.tar.bz2
podman-3d2ad0f97a35617f76f30d02bbfa8aa1a7c1f958.zip
--tls-verify and --authfile should work for all remote commands
These options are now fully supported in the remote API and should no longer be hidden and/or documented as non supported. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/images/push.go')
-rw-r--r--cmd/podman/images/push.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/podman/images/push.go b/cmd/podman/images/push.go
index 2943cccc9..24192eccd 100644
--- a/cmd/podman/images/push.go
+++ b/cmd/podman/images/push.go
@@ -88,11 +88,9 @@ func pushFlags(flags *pflag.FlagSet) {
flags.BoolVar(&pushOptions.TLSVerifyCLI, "tls-verify", true, "Require HTTPS and verify certificates when contacting registries")
if registry.IsRemote() {
- _ = flags.MarkHidden("authfile")
_ = flags.MarkHidden("cert-dir")
_ = flags.MarkHidden("compress")
_ = flags.MarkHidden("quiet")
- _ = flags.MarkHidden("tls-verify")
}
_ = flags.MarkHidden("signature-policy")
}