Difference between revisions of "Kubernetes ConfigMaps"

From wikieduonline
Jump to navigation Jump to search
Line 32: Line 32:
 
* [[Kustomize]]
 
* [[Kustomize]]
 
* <code>[[configMapRef:]]</code>
 
* <code>[[configMapRef:]]</code>
* [[data:]]
+
* <code>[[data:]]</code>
 
* <code>[[Error: kind ConfigMap]]</code>
 
* <code>[[Error: kind ConfigMap]]</code>
 
* <code>[[Error: UPGRADE FAILED: kind ConfigMap with the name "you-configmap-name" in "your-env" already exists]]</code>
 
* <code>[[Error: UPGRADE FAILED: kind ConfigMap with the name "you-configmap-name" in "your-env" already exists]]</code>

Revision as of 11:32, 28 November 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: