From 791e7f4315836f92ea194e8884cb5add7da93d7c Mon Sep 17 00:00:00 2001 From: Leela Venkaiah G Date: Tue, 1 Apr 2025 15:52:19 +0530 Subject: [PATCH] bundle: remove optional mount for nginx-configmap when an optional mount with subPath is used we are consistently observing failure at kubelet. Error: container create failed: mount `/var/lib/kubelet/pods// volume-subpaths/ ocs-client-operator-console-nginx-conf/ ocs-client-operator-console/1` to `etc/nginx/nginx.conf`: Not a directory we no longer need an `optional` mount for this configMap which only delays the starting of the container until CM is available but we no longer hit above issue. Signed-off-by: Leela Venkaiah G --- .../manifests/ocs-client-operator.clusterserviceversion.yaml | 3 +-- config/console/console_init.yaml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml b/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml index b426b200c..0a0f2e08a 100644 --- a/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml +++ b/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml @@ -7,7 +7,7 @@ metadata: categories: Storage console.openshift.io/plugins: '["odf-client-console"]' containerImage: quay.io/ocs-dev/ocs-client-operator:latest - createdAt: "2025-04-21T13:41:01Z" + createdAt: "2025-05-28T06:29:53Z" description: OpenShift Data Foundation client operator enables consumption of storage services from a remote centralized OpenShift Data Foundation provider cluster. @@ -643,7 +643,6 @@ spec: secretName: ocs-client-operator-console-serving-cert - configMap: name: ocs-client-operator-console-nginx-conf - optional: true name: ocs-client-operator-console-nginx-conf - emptyDir: {} name: ocs-client-operator-console-nginx-log diff --git a/config/console/console_init.yaml b/config/console/console_init.yaml index cc21271dc..7169b8c09 100644 --- a/config/console/console_init.yaml +++ b/config/console/console_init.yaml @@ -64,7 +64,6 @@ spec: - name: ocs-client-operator-console-nginx-conf configMap: name: ocs-client-operator-console-nginx-conf - optional: true - name: ocs-client-operator-console-nginx-log emptyDir: {} - name: ocs-client-operator-console-nginx-tmp