Skip to content

Commit

Permalink
register actions
Browse files Browse the repository at this point in the history
Signed-off-by: AlbeeSo <[email protected]>
  • Loading branch information
AlbeeSo committed May 22, 2024
1 parent 3c2c868 commit 551ef29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/cmd/server/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ func NewCommand(f client.Factory) *cobra.Command {
"velero.io/pod",
newPodBackupItemAction,
).
RegisterBackupItemAction(
"velero.io/ingress",
newIngressBackupItemAction,
).
RegisterBackupItemAction(
"velero.io/service-account",
newServiceAccountBackupItemAction(f),
Expand Down Expand Up @@ -88,6 +92,10 @@ func NewCommand(f client.Factory) *cobra.Command {
"velero.io/add-pv-from-pvc",
newAddPVFromPVCRestoreItemAction,
).
RegisterRestoreItemAction(
"velero.io/add-ingressclass-from-ing",
newAddIngressClassFromIngAction,
).
RegisterRestoreItemAction(
"velero.io/change-storage-class",
newChangeStorageClassRestoreItemAction(f),
Expand Down

0 comments on commit 551ef29

Please sign in to comment.