• Import files into objects using helm

    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...
  • How to use ConfigMap on Kubernetes

    2 min read

    kubernetes ConfigMap

    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...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets