From 6227b1816b2ab78d699724351006ca6cc2f31fee Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Mon, 9 Dec 2024 10:01:37 -0500 Subject: [PATCH] OCPBUGS-45901: Remove namespace from ConsolePlugin YAML The ConsolePlugin resource is cluster-scoped. It should not have a `metadata.namespace` in its YAML manifest. --- charts/openshift-console-plugin/templates/consoleplugin.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/openshift-console-plugin/templates/consoleplugin.yaml b/charts/openshift-console-plugin/templates/consoleplugin.yaml index c70aa50e..74b15d51 100644 --- a/charts/openshift-console-plugin/templates/consoleplugin.yaml +++ b/charts/openshift-console-plugin/templates/consoleplugin.yaml @@ -2,7 +2,6 @@ apiVersion: console.openshift.io/v1 kind: ConsolePlugin metadata: name: {{ template "openshift-console-plugin.name" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "openshift-console-plugin.labels" . | nindent 4 }} spec: @@ -15,4 +14,4 @@ spec: name: {{ template "openshift-console-plugin.name" . }} namespace: {{ .Release.Namespace }} port: {{ .Values.plugin.port }} - basePath: {{ .Values.plugin.basePath }} \ No newline at end of file + basePath: {{ .Values.plugin.basePath }}