Skip to content

Latest commit

 

History

History

04-configmaps

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

ConfigMap demo

Helm chart with a simplistic app to demo how ConfigMaps are used/updated in Kubernetes. It reads and prints data from config (config.json) as well as watches the modifications of this config via fsnotify.

Intended to be used as a playground for a corresponding article:

Deploying this chart

git clone https://github.com/flant/examples.git flant-examples
helm install \
  ./flant-examples/2020/04-configmaps/charts/configmaps-demo/ \
  --name configmaps-demo \
  --namespace configmaps-demo \
  --set 'name.production=Tod' \
  --set 'global.env=production'

Upgrading the chart

helm upgrade \
  configmaps-demo \
  ./flant-examples/2020/04-configmaps/charts/configmaps-demo/ \
  --set 'name.production=Mary' \
  --set 'global.env=production'