Skip to content

Application promotion example using ConfigMap for configuration in OpenShift 3

Notifications You must be signed in to change notification settings

marhatha/ose-app-promotion-configmap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image promotion using ConfigMaps in OpenShift 3

The same ConfigMap is deployed in every environment, but with different values for the configuration

How to run

In the examples folder, there is a ./load-all.sh script that will set up everything for you

There will be 2 projects. In this example a project will resemble a stage/environment for the given application:

  • node-app-dev

  • node-app-test

Both will have a node.js application that will show some details, and a value defined in the ConfigMap that will be relative for each and every project (environment)

How to promote the application from dev to test

Just tag the image doing:

oc tag node-app-dev/node-app:latest node-app-test/node-app:test

You’ll see how the application get deployed into the test environment.

About

Application promotion example using ConfigMap for configuration in OpenShift 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 59.6%
  • JavaScript 40.4%