OpenShift registry deprecated configuration

Solution In Progress - Updated -

Issue

Some OpenShift configuration options are deprecated although they still work.
Here's a comprehensive list of the variables that have to be removed:

  • OPENSHIFT_MASTER and KUBERNETES_MASTER: Default to kubernetes.default.svc.cluster.local by default.
  • OPENSHIFT_CA_DATA: We use by default the file /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  • OPENSHIFT_CA_FILE: Defaults to /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  • OPENSHIFT_INSECURE: Deprecated
  • OPENSHIFT_CERT_DATA, OPENSHIFT_KEY_DATA, OPENSHIFT_CERT_FILE
    and OPENSHIFT_KEY_FILE: We use the serviceaccount token instead to authenticate.
  • BEARER_TOKEN: We use by default the file /var/run/secrets/kubernetes.io/serviceaccount/token
  • BEARER_TOKEN_FILE: Defaults to /var/run/secrets/kubernetes.io/serviceaccount/token

Environment

OpenShift Container Platform >=3.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.