Setting up basic authentication credentials by using environment variables
An administrator can use the username
and password
container environment variables for basic authentication credentials.
After your WebSphereLibertyApplication image is deployed on your Kubernetes
cluster, you can use the username
and password
environment
variables for basic authentication with your username and password of choice.
Procedure
Results
The .spec.envFrom configuration sets two environment variables for your
application container, username
and password
, and uses the
username
and password
values in your secret.