You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
👍 for "The project would be better with this feature added"
👎 for "This feature will not enhance the project in a meaningful way"
The text was updated successfully, but these errors were encountered:
@reasonerjt thank you for your help. Having the possibility to add labels to the namespace would be helpful in our case.
Regarding the design, I do not know what would be better between a new option specific for the namespace (--namespace-labels and --namespace-annotations) or renaming the --pod-labels and --pod-annotations to --additional-labels and --additional-annotations (that would be applied to both namespace and pods) would be better...
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.
The text was updated successfully, but these errors were encountered: