Skip to content

Commit

Permalink
Merge pull request #26277 from brenton/release-3.11
Browse files Browse the repository at this point in the history
The centos image streams need an imagepullsecret now too
  • Loading branch information
brenton authored Jul 1, 2021
2 parents 5bb7345 + 449ebee commit 35459bc
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ func (c *CentosImageStreamsComponentOptions) Name() string {
}

func (c *CentosImageStreamsComponentOptions) Install(dockerClient dockerhelper.Interface) error {
secretComponent := DockerConfigSecret{
Name: "imagestreamsecret",
Namespace: "openshift",
}

err := secretComponent.MakeReady(
c.InstallContext.ClientImage(),
c.InstallContext.BaseDir()).Install(dockerClient)
if err != nil {
return err
}

component := componentinstall.List{
Name: c.Name(),
Namespace: "openshift",
Expand Down

0 comments on commit 35459bc

Please sign in to comment.