From 57200b60057f535046dced097d610b809335ff46 Mon Sep 17 00:00:00 2001 From: Wesley Hayutin Date: Thu, 15 Jan 2026 12:34:11 -0700 Subject: [PATCH 1/2] update operator-sdk version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ddebd1cab6..bbef13de78 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # All version-related variables are defined here for easy maintenance DEFAULT_VERSION := 99.0.0 VERSION ?= $(DEFAULT_VERSION) # the version of the operator -OPERATOR_SDK_VERSION ?= v1.35.0 +OPERATOR_SDK_VERSION ?= v1.42.0 ENVTEST_K8S_VERSION = 1.32 #refers to the version of kubebuilder assets to be downloaded by envtest binary # Kubernetes version from OpenShift 4.19.x GOLANGCI_LINT_VERSION ?= v2.6.1 KUSTOMIZE_VERSION ?= v5.2.1 From 8d47c62b5a5dfbb162796d843186a94c8cc2a28d Mon Sep 17 00:00:00 2001 From: Wesley Hayutin Date: Fri, 16 Jan 2026 08:06:11 -0700 Subject: [PATCH 2/2] relax pod security enforcement? --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bbef13de78..e71d0fbac0 100644 --- a/Makefile +++ b/Makefile @@ -545,7 +545,8 @@ deploy-olm: undeploy-olm ## Build current branch operator image, bundle image, p IMG=$(THIS_OPERATOR_IMAGE) BUNDLE_IMG=$(THIS_BUNDLE_IMAGE) \ make docker-build docker-push bundle bundle-build bundle-push; \ chmod -R 777 $(DEPLOY_TMP) && rm -rf $(DEPLOY_TMP) - $(OPERATOR_SDK) run bundle --security-context-config restricted $(THIS_BUNDLE_IMAGE) --namespace $(OADP_TEST_NAMESPACE) + $(OC_CLI) label --overwrite ns $(OADP_TEST_NAMESPACE) pod-security.kubernetes.io/enforce=privileged security.openshift.io/scc.podSecurityLabelSync=false || true + $(OPERATOR_SDK) run bundle --security-context-config restricted $(THIS_BUNDLE_IMAGE) --namespace $(OADP_TEST_NAMESPACE) --timeout 5m .PHONY: undeploy-olm undeploy-olm: login-required operator-sdk ## Uninstall current branch operator via OLM