Using secrets as env variables in DeploymentConfigs do not display its value in Web Console

Solution In Progress - Updated -

Issue

  • Environment variables linked to secrets do not display it's value under Environment tab after creating a DeploymentConfig resource
  • Single value environment variables under Environment tab are defined in DeploymentConfig yaml but it's value is shown as Select a key
  • The environment variable value that consumes the secret key defined for a container is displayed as Select a key under DeploymentConfig details Environment tab

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    o 4.9
  • OpenShift Web Console

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content