Skip to content

Commit 4c30e49

Browse files
authored
move away from latest tag for olm installs (#6849)
Signed-off-by: Adam D. Cornett <[email protected]>
1 parent 94f7db3 commit 4c30e49

File tree

7 files changed

+56
-54
lines changed

7 files changed

+56
-54
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ generate: build # Generate CLI docs and samples
4444
$(GO) generate ./...
4545

4646
.PHONY: bindata
47-
OLM_VERSIONS = 0.25.0 0.26.0 0.27.0
47+
OLM_VERSIONS = 0.26.0 0.27.0 0.28.0
4848
bindata: ## Update project bindata
4949
./hack/generate/olm_bindata.sh $(OLM_VERSIONS)
5050
$(MAKE) fix

hack/tests/subcommand-olm-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ test_version() {
3636
echo $commandoutput | grep -F "Successfully uninstalled OLM"
3737
}
3838

39-
test_version "latest"
39+
test_version "0.28.0"
4040
test_version "0.17.0" # Check installation of OLM for locally stored version of binaries

internal/bindata/olm/manifests.go

Lines changed: 48 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/olm/installer/manager.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ import (
2626
)
2727

2828
const (
29-
DefaultVersion = "latest"
29+
// TODO: switch back to latest once olm fixes their releases
30+
// https://github.com/operator-framework/operator-lifecycle-manager/issues/3419
31+
DefaultVersion = "0.28.0"
3032
DefaultTimeout = time.Minute * 2
3133
// DefaultOLMNamespace is the namespace where OLM is installed
3234
DefaultOLMNamespace = "olm"

internal/testutils/olm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
)
2727

2828
const (
29-
OlmVersionForTestSuite = "0.27.0"
29+
OlmVersionForTestSuite = "0.28.0"
3030
)
3131

3232
var makefilePackagemanifestsFragment = `

website/content/en/docs/cli/operator-sdk_olm_install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ operator-sdk olm install [flags]
1414
```
1515
-h, --help help for install
1616
--timeout duration time to wait for the command to complete before failing (default 2m0s)
17-
--version string version of OLM resources to install (default "latest")
17+
--version string version of OLM resources to install (default "0.28.0")
1818
```
1919

2020
### Options inherited from parent commands

website/content/en/docs/overview/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ By project type (replace `${IMAGE_VERSION}` with base image version in your proj
9292

9393
Operator SDK officially supports the latest 3 minor versions of OLM present at the time of a given Operator SDK release. These versions of OLM manifests are packaged with the SDK binary in the form of `bindata` to support low-latency installations of OLM with [`operator-sdk olm install`][olm-install-cmd]. Any other version installed with this command may work but is not tested nor officially supported.
9494

95-
Currently, the officially supported OLM Versions are: 0.25.0, 0.26.0, and 0.27.0
95+
Currently, the officially supported OLM Versions are: 0.26.0, 0.27.0, and 0.28.0
9696

9797
## Platform support
9898

0 commit comments

Comments
 (0)