Skip to content

Commit

Permalink
Prepare for release v0.3.0 (#14)
Browse files Browse the repository at this point in the history
ProductLine: Stash
Release: v2022.06.21
Release-tracker: stashed/CHANGELOG#49
Signed-off-by: 1gtm <1gtm@appscode.com>
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
1gtm committed Jun 17, 2022
1 parent ccb5f80 commit dbe1690
Show file tree
Hide file tree
Showing 8 changed files with 341 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
kmodules.xyz/custom-resources v0.24.0
kmodules.xyz/resource-metrics v0.10.1
sigs.k8s.io/controller-runtime v0.12.1
stash.appscode.dev/apimachinery v0.20.2-0.20220603214858-b90c85f4fd8c
stash.appscode.dev/apimachinery v0.21.0
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1176,5 +1176,5 @@ sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZa
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo=
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=
stash.appscode.dev/apimachinery v0.20.2-0.20220603214858-b90c85f4fd8c h1:PTOrFNN26IZwIEWbKNTfXh6SdOdiRyDKMettJ05gjlc=
stash.appscode.dev/apimachinery v0.20.2-0.20220603214858-b90c85f4fd8c/go.mod h1:mtxrytXCX8271F5xVMKTwVPoERs6XbhLZlhRKJU08uI=
stash.appscode.dev/apimachinery v0.21.0 h1:uK4IAuT3+V7b2/sQAWslQ3iT8agN6qgy58gg9W51rhk=
stash.appscode.dev/apimachinery v0.21.0/go.mod h1:mtxrytXCX8271F5xVMKTwVPoERs6XbhLZlhRKJU08uI=
2 changes: 1 addition & 1 deletion pkg/registry/ui/backups/backupoverview.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (r *BackupOverviewStorage) getBackupOverview(ctx context.Context, cfg *stas
result.Spec.Status = uiapi.BackupStatusActive
}
result.UID = "bkovw-" + cfg.GetUID()
result.SelfLink = ""
// result.SelfLink = ""
result.ManagedFields = nil
result.OwnerReferences = nil
result.Finalizers = nil
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ sigs.k8s.io/structured-merge-diff/v4/value
# sigs.k8s.io/yaml v1.3.0
## explicit; go 1.12
sigs.k8s.io/yaml
# stash.appscode.dev/apimachinery v0.20.2-0.20220603214858-b90c85f4fd8c
# stash.appscode.dev/apimachinery v0.21.0
## explicit; go 1.18
stash.appscode.dev/apimachinery/apis/stash
stash.appscode.dev/apimachinery/apis/stash/install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,18 @@ type BackupBlueprintSpec struct {
// Don't specify it in sidecar model.
// +optional
InterimVolumeTemplate *ofst.PersistentVolumeClaim `json:"interimVolumeTemplate,omitempty"`
// Hooks specifies the actions Stash should execute before or after backup.
// +optional
Hooks *BackupHooks `json:"hooks,omitempty"`
// BackupHistoryLimit specifies the number of BackupSession and it's associate resources to keep.
// This is helpful for debugging purpose.
// Default: 1
// +optional
BackupHistoryLimit *int32 `json:"backupHistoryLimit,omitempty"`
// TimeOut specifies the maximum duration of backup. BackupSession will be considered Failed
// if backup does not complete within this time limit. By default, Stash don't set any timeout for backup.
// +optional
TimeOut string `json:"timeOut,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbe1690

Please sign in to comment.