Difference between revisions of "Kubernetes ConfigMaps"

From wikieduonline
Jump to navigation Jump to search
m (Ant moved page ConfigMaps to Kubernetes ConfigMaps)
Line 2: Line 2:
 
https://kubernetes.io/docs/concepts/configuration/configmap/
 
https://kubernetes.io/docs/concepts/configuration/configmap/
  
 
+
== Commands ==
 
* <code>[[kubectl create configmap]]</code>
 
* <code>[[kubectl create configmap]]</code>
 
:::<code>kubectl create configmap <map-name> <data-source></code>
 
:::<code>kubectl create configmap <map-name> <data-source></code>

Revision as of 09:22, 12 October 2022

A ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume. https://kubernetes.io/docs/concepts/configuration/configmap/

Commands

kubectl create configmap <map-name> <data-source>

EKS

helm list
Error: configmaps is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "configmaps" in API group "" in the namespace "kube-system"

Activities

News

Related terms

See also

  • https://github.com/kubernetes/enhancements/issues/1412
  • Advertising: