You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
REGISTRY_OPENSHIFT_SERVER_ADDR env var does not appear to work #58
We can raise the priority of the REGISTRY_OPENSHIFT_SERVER_ADDR variable, but in that case we'll probably break old configurations that use old variables.
Activity
bparees commentedon Jan 29, 2018
When this is fixed, we should un-revert openshift/openshift-ansible#6913
legionus commentedon Jan 29, 2018
I do not know how you created the cluster, but in the cluster that is created by
oc cluster up, a variableDOCKER_REGISTRY_SERVICE_HOSTis set.As you can see the
DOCKER_REGISTRY_SERVICE_HOSTvariable is still set and it has a higher priority. To remove it you have to unset it explicitly:I have test for env variables: https://github.com/openshift/image-registry/blob/master/pkg/dockerregistry/server/configuration/configuration_test.go#L565
In it, you can see the priorities of the environment variables.
We can raise the priority of the
REGISTRY_OPENSHIFT_SERVER_ADDRvariable, but in that case we'll probably break old configurations that use old variables.So this is not a bug, but the expected behavior.
legionus commentedon Jan 29, 2018
@bparees To be sure, please show the
dockerregistryenvironment variables.dmage commentedon Jan 29, 2018
@legionus DOCKER_REGISTRY_SERVICE_HOST is always set by Kubernetes.