2 min read
While writing Kustomize patches you might come across is the need to escape certain characters, such as the forward slash (/
). This can be a bit tricky since the common conventions on how to escape a character don't apply here.
03/05/2023
Read more...2 min read
When we try to use configMapGenerator to generate a ConfigMap
containing some files like this:
configMapGenerator:
- name: config-files
behavior: create
files:
- files/file1.txt
- files/file2.txt
By default, it is going to append a hash to it:
$ kubectl get configmap
NAME DATA AGE
config-files-m55tkfhh8f 2 45d
If we need to access this ConfigMap
by name we might want to remove the hash.
07/03/2023
Read more...2 min read
The topic is hot: Kustomize or Helm? While this discussion around this topic could continue indefinitely, the good news is that both tools can be utilized in conjunction, enhancing each other's capabilities.
12/01/2023
Read more...2 min read
When using namePrefix or nameSuffix to change the names of the resources we are deplying using Kustomize, we need to make sure the cross object references get updated as well.
05/01/2023
Read more...2 min read
Sometimes we'll need to delete a specific resource from an existing manifest. It can be as simple as moving the resource around, but if we do not control the source manifest it might not be an option: In this scenario we can delete the resource using a patch
17/11/2022
Read more...