Home
|
Tutorials
|
Articles
|
Videos
|
Products
|
Tools
|
Search
Interviews
|
Open Source
|
Tag Cloud
|
Follow Us
|
Bookmark
|
Contact
In Browser
StumbleUpon
del.icio.us
Google
Google Buzz
reddit
LinkedIn
Facebook
Twitter
Linkedin
E-Mail
Home
Tutorials
Articles
Search Tutorials
Products
Authors
Submit a Tutorial
Report a Bug
Interview FAQ
Subscribe
Container Management
>
Kubernetes
> How to create Kubernetes ConfigMap from Literal Values
How to create Kubernetes ConfigMap from Literal Values
Author:
Venkata Sudhakar
The below example shows how to create
Kubernetes ConfigMap
from Literal Values.
$ kubectl create configmap abc-configmap --from-literal aws.access.key=AAAAAAAAAA --from-literal aws.secret.key=BBBBBBBBBB configmap/abc-configmap created $ kubectl get configmaps abc-configmap -o yaml apiVersion: v1 data: aws.access.key: AAAAAAAAAA aws.secret.key: BBBBBBBBBB kind: ConfigMap metadata: creationTimestamp: "2021-03-06T21:15:33Z" name: abc-configmap namespace: default resourceVersion: "6077" selfLink: /api/v1/namespaces/default/configmaps/abc-configmap uid: cd26fce7-0762-4e62-9add-46592ca270f7
Home
|
Tutorials
|
Random Tutorial
|
Articles
|
Videos
|
Search
|
Google Search
|
Products
|
Student Projects
|
Open Source
Tools
|
Tips And Tricks
|
How to Fix
|
Tag Cloud
|
Share
|
Disclaimer
|
Privacy
|
Contact
|
Login
Send your comments, suggestions or queries regarding this site to
[email protected]
.
Copyright © 2008-2024. All rights reserved.