Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 400 Bytes

6.md

File metadata and controls

9 lines (7 loc) · 400 Bytes

6. Configure your app

  • Create a configmap pets-config with the values DEBUG: "true" and OPTION_A: "Kitties"
  • Add a label app: pets
  • Save its definition under k8s/config/pets-configmap.yaml
  • Add to the pod definition a reference to this configmap as environment variables (envFrom)
  • Run a pod and check if debug is enabled

Don't forget to push all changes to git repo!