Is your feature request related to a problem? Please describe.
I need to annotate deployments due to a kyverno admissions policy in my cluster that requires some annotations on all deployments (in this case, the team responsible for the deployment).
Describe the solution you'd like
Add one or more properties in the Pulp resource spec to allow me to annotate the deployments. One property for each of the deployments:
kind: Pulp
spec:
api:
deploy_annotations:
annotation-name: annotation-value
content:
deploy_annotations:
annotation-name: annotation-value
worker:
deploy_annotations:
annotation-name: annotation-value
web:
deploy_annotations:
annotation-name: annotation-value
Describe alternatives you've considered
Or there could be one top-level property for all of the deployments.
kind: Pulp
spec:
deploy_annotations:
annotation-name: annotation-value
We could also use annotations instead of deploy_annotations and add the same annotation to both deployment, replicaset, and pod. I only need it on deployments; I'm indifferent to annotating the other resources.
Is your feature request related to a problem? Please describe.
I need to annotate deployments due to a kyverno admissions policy in my cluster that requires some annotations on all deployments (in this case, the team responsible for the deployment).
Describe the solution you'd like
Add one or more properties in the
Pulpresource spec to allow me to annotate the deployments. One property for each of the deployments:Describe alternatives you've considered
Or there could be one top-level property for all of the deployments.
We could also use
annotationsinstead ofdeploy_annotationsand add the same annotation to both deployment, replicaset, and pod. I only need it on deployments; I'm indifferent to annotating the other resources.