Skip to content

Commit 6dbbc52

Browse files
authored
[SRVCOM-3428] remove workaround installing cert-manager from upstream instead of OperatorHub on OCP 4.18 (#3736)
reverts workaround added by 4dba7ea https://issues.redhat.com/browse/SRVCOM-3428
1 parent 8d99d33 commit 6dbbc52

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

hack/lib/certmanager.bash

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ function deploy_certmanager_operator {
1717

1818
deployment_namespace="cert-manager"
1919

20-
ocp_version=$(oc get clusterversion version -o jsonpath='{.status.desired.version}')
21-
# Workaround for cert-manager not being available in 4.18 yet.
22-
# https://issues.redhat.com/browse/SRVCOM-3428
23-
if versions.ge "$(versions.major_minor "$ocp_version")" "4.18"; then
24-
oc apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml
25-
else
26-
oc apply -f "${certmanager_resources_dir}"/subscription.yaml || return $?
27-
fi
20+
oc apply -f "${certmanager_resources_dir}"/subscription.yaml || return $?
2821

2922
logger.info "Waiting until cert manager operator is available"
3023

0 commit comments

Comments
 (0)