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