Support additional labels and annotations on velero CLI generated YAML
#4,982 opened on Jun 10, 2022
Repository metrics
- Stars
- (10,111 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the problem/challenge you have
We installed velero with velero install command and it worked well. But we recently added a kyverno policy that checked if a specific label is existing on all namespaces, and this causes a policy violation each time the velero pipeline is launched because the label is missing on velero namespace.
The namespace is generated by the CLI each time the velero install command is launched and it seems not possible to add labels or annotations to resources generated by the CLI.
Describe the solution you'd like
The velero install command could support additional labels and annotations to be compliant to policy engines rules.
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
- :+1: for "The project would be better with this feature added"
- :-1: for "This feature will not enhance the project in a meaningful way"