Skip to content

Commit 904c7d6

Browse files
authored
Fix installation after removing support for v2.1 (#1629)
Signed-off-by: Jacek Ewertowski <[email protected]>
1 parent feb9304 commit 904c7d6

File tree

1 file changed

+0
-3
lines changed
  • pkg/controller/common/cni

1 file changed

+0
-3
lines changed

pkg/controller/common/cni/cni.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ func InitConfig(m manager.Manager) (Config, error) {
4646

4747
if err == nil {
4848
config.UseMultus = true
49-
if len(common.Config.OLM.Images.V2_1.CNI) == 0 {
50-
return config, fmt.Errorf("configuration olm.relatedImage.v2_1.cni must be set")
51-
}
5249

5350
secret, _ := os.LookupEnv("ISTIO_CNI_IMAGE_PULL_SECRET")
5451
if secret != "" {

0 commit comments

Comments
 (0)