Create ConfigMaps

Imperative Way

Declarative Way

How to use ConfigMaps inside Pod definitions

envFrom:
	- configMapRef:
		  name:app-config
env:
	- name: APP_COLOR
	  valueFrom:
		  configMapKeyRef:
			  name: app-config
			  key: APP_COLOR
volumes:
	- name: app-config-volume
	  configMap:
		  name : appconfig