Way to add labels/annotations to target
I would like to be able to add labels and annotations to the target.
I would also like to do that.
My use case is in combination with https://github.com/stakater/Reloader. I would like to set the reloader.stakater.com/match annotation.
If ever implemented, I think we should get inspiration from the secretTemplate in cert-manager Certificate.
/good-first-issue
@erikgb: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.
In response to this:
/good-first-issue
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
As a work around you can pre-create the configmap like this:
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.bundle.name }}
annotations:
reloader.stakater.com/match: "true"
Trust manager will then use this existing configmap to add the bundle to and the annotation is set.