secrets

How to Use Kubernetes Configmap

November 2, 2020  -   4 mins read time -   721 words -  garrardkitchen

kuberetes, configmap, cm, kubectl, secrets, best practice

There’s a ton of material out there on how to use a ConfigMap. In this post I will provide a recap on the basics then I drill into how to protect your secrets! There are a few ways to create a configMap. Here, I cover just two of these ways;--from-env-file and –from-literal. I won’t cover options like from volume. How to create a ConfigMap from a literal To create a configMap from literals and from the command line, you would type this: ...