From 3849ca4d8b3c70744507a41023d76820eefc7402 Mon Sep 17 00:00:00 2001 From: Yuvarani Shankar Date: Wed, 8 Apr 2026 15:12:41 -0700 Subject: [PATCH] Fix K8s Helm build: remove CNI plugins OpenShift-specific RBAC (#296) The CNI plugins RBAC file contains OpenShift-specific SecurityContextConstraints permissions that don't exist in vanilla Kubernetes, causing deployment failures. This adds removal of cni-plugins-rbac.yaml to match the existing pattern for device-plugin and kmm-module-loader RBAC files. Co-authored-by: Yuva Shankar <11082310+yuva29@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (cherry picked from commit c42ea50434d7da07fae46b6d62dfdde4735ff9f4) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9d68a07a..5540c70e 100644 --- a/Makefile +++ b/Makefile @@ -544,6 +544,7 @@ helm-k8s: helmify manifests kustomize clean-helm-k8s gen-kmm-charts-k8s # Removing OpenShift related rbac from vanilla k8s helm charts rm $(shell pwd)/helm-charts-k8s/templates/kmm-device-plugin-rbac.yaml rm $(shell pwd)/helm-charts-k8s/templates/kmm-module-loader-rbac.yaml + rm $(shell pwd)/helm-charts-k8s/templates/cni-plugins-rbac.yaml # Patching k8s helm chart kmm subchart cp $(shell pwd)/hack/k8s-patch/k8s-kmm-patch/metadata-patch/*.yaml $(shell pwd)/helm-charts-k8s/charts/kmm/ cp $(shell pwd)/hack/k8s-patch/k8s-kmm-patch/template-patch/*.yaml $(shell pwd)/helm-charts-k8s/charts/kmm/templates/