-
Notifications
You must be signed in to change notification settings - Fork 0
K8s ConfigMap
Andy Potanin edited this page Jun 21, 2026
·
1 revision
Creates a Kubernetes ConfigMap from a native manifest definition.
Use this module when a Rabbit service needs environment variables or configuration files delivered as a ConfigMap to pods in the cluster.
- ConfigMap creation from a standard Kubernetes manifest.
-
dataandbinaryDatafields. - Labels and annotations.
- A kubeconfig secret created by the
k8s-accessmodule. - The target namespace must exist.
- The
configurationskey accepts a complete Kubernetes ConfigMap manifest (withoutapiVersionandkind). - The module reads
metadata.name,metadata.namespace,data, andbinaryDatafrom the manifest.
services:
- name: "k8s ConfigMap"
module: "k8s-configmap"
id: "app-configmap"
deployment_order: 95
configurations:
metadata:
name: "app-config"
namespace: "www-example-com"
labels:
app: "www-example-com"
data:
DB_HOST: "10.0.0.1"
DB_NAME: "production"
WP_ENV: "production"This module does not produce outputs.
The configurations key accepts a native Kubernetes ConfigMap manifest body.
configurations:
metadata:
name: ""
namespace: ""
labels: {}
annotations: {}
data: {}
binaryData: {}| Field | Type | Required | Description |
|---|---|---|---|
metadata.name |
string | Yes | ConfigMap name. |
metadata.namespace |
string | Yes | Target namespace. |
metadata.labels |
map[string] | No | Kubernetes labels. |
metadata.annotations |
map[string] | No | Kubernetes annotations. |
data |
map[string] | No | String key-value pairs. |
binaryData |
map[string] | No | Base64-encoded binary key-value pairs. |
- GCP GKE Cluster
- GCP GKE Node Pool
- GCP IAM
- GCP Monitoring
- GCP Networking
- GCP PostgreSQL Instance
- GCP Secret Manager
- GCP SQL Instance
- GCP Static IP
- GCP Storage