I am searching for a way to add a specific label to ConfigMap using Kustomize. Using commonLabels
is not an option because it adds a label to every resource. For config map generation, I am using the following:
configMapGenerator:
- name: ${REPOSITORY_NAME}-env
envs:
- .env
And I would like to achieve something like this:
configMapGenerator:
- name: ${REPOSITORY_NAME}-env
labels:
key: value
envs:
- .env