Skip to content

Commit

Permalink
Remove maintenance; Only backup
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsntTheWay committed Feb 19, 2025
1 parent 7ff5285 commit 5e7ed2a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
1 change: 1 addition & 0 deletions pkg/comp-functions/functions/vshnforgejo/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func AddBackup(ctx context.Context, comp *vshnv1.VSHNForgejo, svc *runtime.Servi
return runtime.NewFatalResult(fmt.Errorf("can't get composite: %w", err))
}

common.SetRandomSchedules(comp, comp)
err = backup.AddK8upBackup(ctx, svc, comp)
if err != nil {
return runtime.NewFatalResult(fmt.Errorf("cannot add k8s backup to the desired state: %w", err))
Expand Down
35 changes: 0 additions & 35 deletions pkg/comp-functions/functions/vshnforgejo/maintenance.go

This file was deleted.

4 changes: 0 additions & 4 deletions pkg/comp-functions/functions/vshnforgejo/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ func init() {
Name: "deploy",
Execute: DeployForgejo,
},
{
Name: "maintenance",
Execute: AddMaintenanceJob,
},
{
Name: "backup",
Execute: AddBackup,
Expand Down

0 comments on commit 5e7ed2a

Please sign in to comment.