-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds annotations to `BundleDeployment` objects created by operator-controller in response to `Operator` objects. This makes it easier to filter bundles during resolution and makes us less dependant on image bundle format. Signed-off-by: Mikalai Radchuk <[email protected]>
- Loading branch information
Showing
8 changed files
with
94 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ var _ = Describe("InstalledPackageVariableSource", func() { | |
var ( | ||
ipvs *variablesources.InstalledPackageVariableSource | ||
fakeCatalogClient testutil.FakeCatalogClient | ||
bundleImage string | ||
) | ||
|
||
BeforeEach(func() { | ||
|
@@ -95,11 +94,11 @@ var _ = Describe("InstalledPackageVariableSource", func() { | |
InChannels: []*catalogmetadata.Channel{&channel}, | ||
}, | ||
} | ||
var err error | ||
bundleImage = "registry.io/repo/[email protected]" | ||
pkgName := "test-package" | ||
bundleName := "test-package.v2.0.0" | ||
bundleVersion := "2.0.0" | ||
fakeCatalogClient = testutil.NewFakeCatalogClient(bundleList) | ||
ipvs, err = variablesources.NewInstalledPackageVariableSource(&fakeCatalogClient, bundleImage) | ||
Expect(err).NotTo(HaveOccurred()) | ||
ipvs = variablesources.NewInstalledPackageVariableSource(&fakeCatalogClient, pkgName, bundleName, bundleVersion) | ||
}) | ||
|
||
It("should return the correct package variable", func() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters