Skip to content

Commit

Permalink
Notifications - PR notes, take3
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Prinz Setter <[email protected]>
  • Loading branch information
alphaprinz committed Nov 17, 2024
1 parent f36d0bb commit b514682
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions deploy/crds/noobaa.io_noobaas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,8 @@ spec:
for holding pending notifications files.
For ODF - If not provided, the default CepthFS storage class will be used to create the PVC.
type: string
required:
- enabled
type: object
cleanupPolicy:
description: CleanupPolicy (optional) Indicates user's policy for
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/noobaa/v1alpha1/noobaa_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ type BucketLoggingSpec struct {
//BucketNotificationsSpec controls bucket notification configuration
type BucketNotificationsSpec struct {
// Enabled - whether bucket notifications is enabled
Enabled bool `json:"enabled,omitempty"`
Enabled bool `json:"enabled"`

//PVC (optional) specifies the name of the Persistent Volume Claim (PVC) to be used
//for holding pending notifications files.
Expand Down
4 changes: 3 additions & 1 deletion pkg/bundle/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ spec:
status: {}
`

const Sha256_deploy_crds_noobaa_io_noobaas_yaml = "fc8943fe4594fa65ff3bd56aea9271211d15f6d9ae692ee8223e51b3771c42e5"
const Sha256_deploy_crds_noobaa_io_noobaas_yaml = "e862d263d097ed43f774784eaaf9a616967746b67608fadbe4ca71d93b220ab6"

const File_deploy_crds_noobaa_io_noobaas_yaml = `---
apiVersion: apiextensions.k8s.io/v1
Expand Down Expand Up @@ -2480,6 +2480,8 @@ spec:
for holding pending notifications files.
For ODF - If not provided, the default CepthFS storage class will be used to create the PVC.
type: string
required:
- enabled
type: object
cleanupPolicy:
description: CleanupPolicy (optional) Indicates user's policy for
Expand Down

0 comments on commit b514682

Please sign in to comment.