Skip to content

Commit 953bbb9

Browse files
committed
fix: the snyk-operator does not use OCP 4.9 due to deprecated APIs
Kubernetes has been deprecating API(s) which will be removed and no longer available in 1.22 and in the Openshift version 4.9. For now we disable upgrades until we resolve the deprecated APIs and upgrade them to supported versions. Without this change the current version of the Operator does not get approved to the Community Operators repo. redhat-openshift-ecosystem/community-operators-prod#208 (comment)
1 parent b5c7be9 commit 953bbb9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

snyk-operator-certified/bundle/manifests/snyk-monitor.clusterserviceversion.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ metadata:
3939
}
4040
}
4141
]
42+
"olm.properties": '[{"type": "olm.maxOpenShiftVersion", "value": "4.8"}]'
4243
capabilities: Basic Install
4344
categories: Developer Tools
4445
certified: "true"

snyk-operator/deploy/olm-catalog/snyk-operator/0.0.0/snyk-operator.v0.0.0.clusterserviceversion.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ metadata:
3434
}
3535
}
3636
]
37+
"olm.properties": '[{"type": "olm.maxOpenShiftVersion", "value": "4.8"}]'
3738
capabilities: Basic Install
3839
categories: Developer Tools, Security
3940
containerImage: docker.io/snyk/kubernetes-operator:SNYK_OPERATOR_IMAGE_TAG_OVERRIDE
@@ -272,11 +273,11 @@ spec:
272273
livenessProbe:
273274
exec:
274275
command:
275-
- "true"
276+
- "true"
276277
readinessProbe:
277278
exec:
278279
command:
279-
- "true"
280+
- "true"
280281
securityContext:
281282
privileged: false
282283
runAsNonRoot: true

0 commit comments

Comments
 (0)