ConfigMap

Holds non-confidential key-value configuration that Pods read as environment variables, arguments or mounted files.

Provider
k8s
Category
Operations
Also known as
cm
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
consumedAs · component propertyenumenv-var | command-arg | volume-file | apino—inherited
encrypted · component propertyboolean—nofalseinherited
immutable · component propertyboolean—nofalseinherited
killSwitchesboolean—notrue▸ false
managedboolean—nofalse▸ false
maxSizeBytes · component propertyinteger—no1048576inherited
mountedFilesAutoUpdate · component propertyboolean—notrueinherited
stagedRolloutboolean—nofalse▸ false
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "config-map", component: "k8s-config-map" }
Other Feature flag service products · 17
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Kubernetes ConfigMap: non-confidential key-value configuration consumed by Pods as environment
# variables, command-line arguments or files in a volume. Per "ConfigMaps" it provides no secrecy
# and no encryption, is capped at 1 MiB, is mutable unless immutable: true is set (a field added in
# v1.19), and a mounted ConfigMap is refreshed automatically when its data changes. It carries no
# targeting or rollout semantics, so staged rollout and kill switches are both off.
schemaVersion: "1"
type: "component"
id: "k8s-config-map"
kind: "feature-flag-service"
provider: "k8s"
docs: "https://kubernetes.io/docs/concepts/configuration/configmap/"
aliases: ["cm"]
defaults:
  managed: false
  stagedRollout: false
  killSwitches: false
properties:
  maxSizeBytes:
    type: "integer"
    default: 1048576
  immutable:
    type: "boolean"
    default: false
  encrypted:
    type: "boolean"
    default: false
  mountedFilesAutoUpdate:
    type: "boolean"
    default: true
  consumedAs:
    type: "enum"
    values: ["env-var", "command-arg", "volume-file", "api"]

The same page as markdown, for an agent: /catalogue/components/k8s-config-map.md