configmap-secret

Manage Kubernetes ConfigMaps and Secrets from various sources.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill configmap-secret
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configmap-secret
Source: https://github.com/chaterm/terminal-skills/tree/main/kubernetes/configmap-secret
Command: npx skills add https://github.com/chaterm/terminal-skills --skill configmap-secret

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the management of Kubernetes ConfigMaps and Secrets, enabling efficient handling of application configurations and sensitive data.

Core Features & Use Cases

  • Create and manage ConfigMaps: From literals, files, directories, and environment files.
  • Create and manage Secrets: For various types like generic, TLS, and Docker registry credentials.
  • Use ConfigMaps/Secrets: As environment variables or mounted files within Pods.
  • Troubleshoot: Common issues related to configuration and secret mounting.
  • Use Case: Securely inject database credentials and application settings into your Kubernetes deployments without exposing them directly in your container images.

Quick Start

Use the configmap-secret skill to create a new ConfigMap named 'my-app-config' from the file '/path/to/app.properties'.

Frequently Asked Questions about configmap-secret

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Kubernetes ConfigMaps from files and directories?

You can create Kubernetes ConfigMaps from literals, files, directories, and environment files. This allows you to efficiently manage application configurations by injecting settings into your deployments without exposing them directly in container images.

How do I use Kubernetes Secrets for Docker registry credentials and TLS?

Kubernetes Secrets supports creating generic, TLS, and Docker registry credential types. You can securely manage sensitive data by creating these secrets and injecting them into your pods as environment variables or mounted files.

Why are my Kubernetes ConfigMaps not mounting as environment variables in Pods?

Troubleshooting common issues with ConfigMap and Secret mounting is supported. You can diagnose why configurations are not properly injected as environment variables or mounted files within your Pods to ensure application settings load correctly.

Can I configure immutable Kubernetes ConfigMaps and Secrets?

Yes, immutable ConfigMap and Secret configurations are supported. Setting them as immutable prevents accidental modifications to your application configuration and sensitive data, protecting your deployments from unauthorized changes.

What is the best way to securely inject database credentials into a Kubernetes deployment?

The best way to inject database credentials is by using Kubernetes Secrets. You can create generic secrets to hold sensitive data and mount them as environment variables or files within your pods, ensuring credentials are not exposed in container images.

Does Kubernetes support managing application configuration from environment files?

Yes, Kubernetes ConfigMaps can be created directly from environment files. This allows you to take existing application configuration files and load them into your cluster for use as environment variables or mounted volumes in your pods.