Skip to content

Commit

Permalink
Merge pull request openshift#1663 from alvaroaleman/proxyprego
Browse files Browse the repository at this point in the history
Registry operator: Set proxy vars
  • Loading branch information
openshift-merge-robot authored Aug 9, 2022
2 parents 6a3df70 + aaf6be6 commit c118d27
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/openshift/hypershift/control-plane-operator/controllers/hostedcontrolplane/pki"
"github.com/openshift/hypershift/support/config"
"github.com/openshift/hypershift/support/metrics"
"github.com/openshift/hypershift/support/proxy"
"github.com/openshift/hypershift/support/util"
)

Expand Down Expand Up @@ -278,6 +279,7 @@ func buildMainContainer(image, registryImage, prunerImage, releaseVersion string
Value: "/tmp/azurestackcloud.json",
},
}
proxy.SetEnvVars(&c.Env)
c.VolumeMounts = volumeMounts.ContainerMounts(c.Name)
c.Ports = []corev1.ContainerPort{
{
Expand Down

0 comments on commit c118d27

Please sign in to comment.