Skip to content

Commit

Permalink
Merge pull request #62 from cybozu-go/remove-namespace-from-mantlebackup
Browse files Browse the repository at this point in the history
remove namespace from MantleBackupSpec
  • Loading branch information
satoru-takeuchi authored Nov 12, 2024
2 parents 8b62289 + 91bffba commit a6f15d6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions api/v1/mantlebackup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ type MantleBackupSpec struct {
// +kubebuilder:validation:Required
PVC string `json:"pvc,omitempty"`

// 'namespace' specifies backup target Namespace
Namespace string `json:"namespace,omitempty"`

// NOTE: we CANNOT use metav1.Duration for Expire due to an unresolved k8s bug.
// See https://github.com/kubernetes/apiextensions-apiserver/issues/56 for the details.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ spec:
rule: self <= duration('360h')
- message: spec.expire is immutable
rule: self == oldSelf
namespace:
description: '''namespace'' specifies backup target Namespace'
type: string
pvc:
description: '''pvc'' specifies backup target PVC'
type: string
Expand Down
3 changes: 0 additions & 3 deletions config/crd/bases/mantle.cybozu.io_mantlebackups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ spec:
rule: self <= duration('360h')
- message: spec.expire is immutable
rule: self == oldSelf
namespace:
description: '''namespace'' specifies backup target Namespace'
type: string
pvc:
description: '''pvc'' specifies backup target PVC'
type: string
Expand Down

0 comments on commit a6f15d6

Please sign in to comment.