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
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| consumedAs | enum | env-var | command-arg | volume-file | api | no | — | inherited |
| encrypted | boolean | — | no | false | inherited |
| immutable | boolean | — | no | false | inherited |
| killSwitches | boolean | — | no | true | ▸ false |
| managed | boolean | — | no | false | ▸ false |
| maxSizeBytes | integer | — | no | 1048576 | inherited |
| mountedFilesAutoUpdate | boolean | — | no | true | inherited |
| stagedRollout | boolean | — | no | false | ▸ false |
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.
nodes:
- { id: "config-map", component: "k8s-config-map" }AWS AppConfigaws-appconfigAzure App Configurationazure-app-configurationCloudflare Flagshipcloudflare-flagshipApollo Configapollo-configConfigCatconfigcatGeneric feature flag servicefeature-flag-serviceFlagsmithflagsmithFliptfliptGrowthBookgrowthbookLaunchDarklylaunchdarklyOptimizely Feature ExperimentationoptimizelyHarness FMEsplitSpring Cloud Config Serverspring-cloud-configStatsigstatsigUnleashunleashFirebase Remote Configgoogle-firebase-remote-configIBM Cloud App Configurationibm-app-configuration
# 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"]