Skip to content

MatinZ626/configmap-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Description

A shell script for auditing ConfigMap usage across Kubernetes Deployments. It scans all namespaces (excluding kube-system, kube-public, and kube-node-lease) and identifies which ConfigMaps are referenced in each Deployment—either as volume mounts or environment variables. The script outputs a readable report to output.txt listing each namespace along with its relevant ConfigMap → Deployment mappings.

Let's Run it

Install yq:

snap install yq

Clone the project:

git clone https://github.com/MatinZ626/configmap-inspector.git

Dont forget permission:

chmod +x configmaptodeplo.sh

Now run it and see the result in output.txt

About

A shell script for auditing ConfigMap usage across Kubernetes Deployments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages