Add authfile flag to pull and push
Push and pull can now access any cached registry credentials from the auth file Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
parent
0914a7a667
commit
d855e2c8ad
13 changed files with 428 additions and 210 deletions
|
@ -170,6 +170,8 @@ _kpod_logs() {
|
|||
|
||||
_kpod_pull() {
|
||||
local options_with_args="
|
||||
--authfile
|
||||
--creds
|
||||
--signature-policy
|
||||
"
|
||||
local boolean_options="
|
||||
|
@ -222,18 +224,20 @@ _kpod_mount() {
|
|||
|
||||
_kpod_push() {
|
||||
local boolean_options="
|
||||
--disable-compression
|
||||
-D
|
||||
--quiet
|
||||
-q
|
||||
--signature-policy
|
||||
--certs
|
||||
--tls-verify
|
||||
--remove-signatures
|
||||
--sign-by
|
||||
--disable-compression
|
||||
-D
|
||||
--quiet
|
||||
-q
|
||||
--remove-signatures
|
||||
--tls-verify
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
--authfile
|
||||
--cert-dir
|
||||
--creds
|
||||
--sign-by
|
||||
--signature-policy
|
||||
"
|
||||
|
||||
local all_options="$options_with_args $boolean_options"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue