Giter Site home page Giter Site logo

allen-zengr / app-promotion-configmap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liuxiaoyu-git/app-promotion-configmap

0.0 0.0 0.0 18 KB

Application promotion example using ConfigMap for configuration in OpenShift 3

Shell 61.36% JavaScript 38.64%

app-promotion-configmap's Introduction

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.

app-promotion-configmap's People

Contributors

liuxiaoyu-git avatar jorgemoralespou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.