Questions tagged [openshift-env-variables]

The standardized environment variables available for applications hosted on OpenShift.

The standardized environment variables available for applications hosted on OpenShift. A number of standardized environment variables are available for applications hosted on OpenShift Online. These variables serve as placeholders for application names, commonly accessed directory names, user names, passwords, host names, IP addresses, and more. The specific environment variables that are available to a given application is determined by the cartridges that have been added to that application. For example, an application with PHP and MySQL has access to environment variables that expose the PHP path information, including the host, port, user name, and password necessary for connecting to the MySQL database.

2 questions
2
votes
1 answer

set-env PATH in Openshift

I'm using a pre_start action hook to add some new paths to the PATH and LD_LIBRARY_PATH environment. after git push I can see that variables are updated, however when I ssh to the server, added variables are not available, after some googling I…
user3473830
  • 7,165
  • 5
  • 36
  • 52
0
votes
1 answer

Openshift: Configmap not picked up by the application

I have a springboot application deployed in openshift with application.properties having greeting.constant = HelloWorld.SpringProp I have also defined the fabric8/configmap.yml apiVersion: v1 kind: ConfigMap metadata: name: sampleappconfig data:…
jack
  • 803
  • 3
  • 15
  • 26