Skip to content

Commit

Permalink
Prepare for release v0.6.0 (#26)
Browse files Browse the repository at this point in the history
ProductLine: KubeStash

Release: v2024.3.16

Release-tracker: kubestash/CHANGELOG#12

Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Mar 16, 2024
1 parent 577ae62 commit b391477
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 4 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 (
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
kmodules.xyz/client-go v0.29.9
kmodules.xyz/offshoot-api v0.29.0
kubestash.dev/apimachinery v0.6.0
kubestash.dev/apimachinery v0.7.0
sigs.k8s.io/controller-runtime v0.17.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,8 @@ kmodules.xyz/offshoot-api v0.29.0 h1:GHLhxxT9jU1N8+FvOCCeJNyU5g0duYS46UGrs6AHNLY
kmodules.xyz/offshoot-api v0.29.0/go.mod h1:5NxhBblXoDHWStx9HCDJR2KFTwYjEZ7i1Id3jelIunw=
kmodules.xyz/prober v0.29.0 h1:Ex7m4F9rH7uWNNJlLgP63ROOM+nUATJkC2L5OQ7nwMg=
kmodules.xyz/prober v0.29.0/go.mod h1:UtK+HKyI1lFLEKX+HFLyOCVju6TO93zv3kwGpzqmKOo=
kubestash.dev/apimachinery v0.6.0 h1:oKeY1PLLu8QfxTgOt7dFTgFx50x2OrEhbbyxu2rIGDg=
kubestash.dev/apimachinery v0.6.0/go.mod h1:ydCufCUC0IRLNKnnQZyvB7/afo3mwaHXL3Hbt4Plw9k=
kubestash.dev/apimachinery v0.7.0 h1:j0SbDAIAUmxDHEuEt81sPqVf6mbTnozhkvYCvP7VjIs=
kubestash.dev/apimachinery v0.7.0/go.mod h1:ydCufCUC0IRLNKnnQZyvB7/afo3mwaHXL3Hbt4Plw9k=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
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.

Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,10 @@ func (rs *RestoreSession) checkFailureInComponents() (bool, string) {

return false, ""
}

func (rs *RestoreSession) GetDataSourceNamespace() string {
if rs.Spec.DataSource.Namespace == "" {
return rs.Namespace
}
return rs.Spec.DataSource.Namespace
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ type KubeDBManifestOptions struct {

// RestoreDataSource specifies the information about the data that will be restored
type RestoreDataSource struct {
// Namespace specifies the namespace of the DataSource (i.e. Repository, Snapshot).
Namespace string `json:"namespace,omitempty"`

// Repository points to the Repository name from which the data will be restored
Repository string `json:"repository,omitempty"`

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.

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

Original file line number Diff line number Diff line change
Expand Up @@ -12585,6 +12585,10 @@ spec:
required:
- name
type: object
namespace:
description: Namespace specifies the namespace of the DataSource
(i.e. Repository, Snapshot).
type: string
pitr:
description: PITR stands for Point-In-Time Recovery. You can provide
a target time instead of specifying a particular Snapshot. Stash
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ kmodules.xyz/offshoot-api/api/v1
# kmodules.xyz/prober v0.29.0
## explicit; go 1.21.5
kmodules.xyz/prober/api/v1
# kubestash.dev/apimachinery v0.6.0
# kubestash.dev/apimachinery v0.7.0
## explicit; go 1.21.5
kubestash.dev/apimachinery/apis
kubestash.dev/apimachinery/apis/addons/v1alpha1
Expand Down

0 comments on commit b391477

Please sign in to comment.