2 min read
We can read values from a ConfigMap as a volume but we can present them to a Pod as an environment variable
27/10/2022
Read more...2 min read
When writing helm charts being able to specify the files to use for ConfigMap or a Secret objects is way more convenient than having the object already rendered. Using .Files.Glob we can tell help to import a set of files into the object
08/07/2022
Read more...2 min read
A ConfigMap an object intended to store configuration for other objects to use. To create a config map we just need to add the data we want to store on the configmap as keys on the data section:
apiVersion: v1
kind: ConfigMap
metadata:
name: demo-configmap
data:
file1.txt: |
this is an example
file2.txt: |
this is another example
28/06/2021
Read more...