Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/v1beta2/foundationdbbackup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ func (foundationDBBackupSpec *FoundationDBBackupSpec) GetAllowTagOverride() bool

// UseUnifiedImage returns true if the unified image should be used.
func (backup *FoundationDBBackup) UseUnifiedImage() bool {
imageType := ImageTypeSplit
imageType := ImageTypeUnified
if backup.Spec.ImageType != nil {
imageType = *backup.Spec.ImageType
}
Expand Down
4 changes: 2 additions & 2 deletions controllers/backup_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ var _ = Describe("backup_controller", func() {
Expect(*deployment.Spec.Replicas).To(Equal(int32(3)))
Expect(
deployment.Spec.Template.Spec.Containers[0].Image,
).To(Equal(fmt.Sprintf("foundationdb/foundationdb:%s", cluster.Spec.Version)))
).To(Equal(fmt.Sprintf("foundationdb/fdb-kubernetes-monitor:%s", cluster.Spec.Version)))
})

It("should update the status on the resource", func() {
Expand Down Expand Up @@ -319,7 +319,7 @@ var _ = Describe("backup_controller", func() {
Expect(deployments.Items[0].ObjectMeta.Annotations).To(Equal(map[string]string{
"fdb-test-1": "test-value-1",
"fdb-test-2": "test-value-2",
"foundationdb.org/last-applied-spec": "8d2e3abf517313fabdf4e19e50b46f9d5b63e5c5d587a01565008945a2dec87f",
"foundationdb.org/last-applied-spec": "946b41ecc6985d5f56d9749e9366132ba4e8cb250eb3bcfe73b037ad1f47c7f4",
}))
})
})
Expand Down
Loading