Skip to content

Commit 1fea521

Browse files
committed
extract_tools: pass security options
Pass security options so that e.g. adm release extract --tools from an image in a private repository can work.
1 parent 97de2a0 commit 1fea521

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/oc/cli/admin/release/extract_tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func (o *ExtractOptions) extractCommand(command string) error {
180180
// load the release image
181181
dir := o.Directory
182182
infoOptions := NewInfoOptions(o.IOStreams)
183+
infoOptions.SecurityOptions = o.SecurityOptions
183184
release, err := infoOptions.LoadReleaseInfo(o.From, false)
184185
if err != nil {
185186
return err

0 commit comments

Comments
 (0)