Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

05-configmaps-and-secrets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

ConfigMaps and Secrets

  • Deploy application
kubectl apply -f web-application/deployment/
  • Show ConfigMap and Secret
kubectl get configmap,secret
kubectl describe configmaps web-application-config
kubectl describe secrets web-application-secret
kubectl get -o json secrets web-application-secret
kubectl get secrets web-application-secret -o jsonpath='{.data.passcode\.txt}' | base64 -d
  • Go to http://..., see the values from the ConfigMap and the Secret