Node.js HTTP + ConfigMap Example

This example showcases application configuration, using OpenShift configmaps. It demonstrates application and runtime configuration leveraging external configuration sources. Alongside the basic means to set up a configmap and use with a specific runtime, this example also demonstrates how changes to the configuration can be applied to services already deployed in OpenShift.

Using the greeting service

Result:

Invoke the service to see the result.

Once you have invoked the greeting service, you can reconfigure it:

  1. Run oc edit configmap app-config
  2. Change the message entry to Bonjour, %s from Kubernetes ConfigMap !
  3. Change the level entry to DEBUG
  4. Save