kubectl get configmaps

Category: Kubernetes & Containers

kubectl get configmaps

List configmaps in the current namespace

Shows configmaps, which hold non-sensitive configuration data that pods can mount as files or environment variables. Unlike secrets, configmap values are plain text and safe to view. Create one with kubectl create configmap app-config --from-file=config.yaml.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.