From fe6fe2058bdecbb1959ffcf8d0d84884bdb9b30f Mon Sep 17 00:00:00 2001 From: Antonin Stefanutti Date: Tue, 16 Apr 2024 20:15:54 +0200 Subject: [PATCH] CARRY: Add delete patch to remove default namespace (#16) --- ray-operator/config/openshift/kustomization.yaml | 1 + ray-operator/config/openshift/remove_default_namespace.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 ray-operator/config/openshift/remove_default_namespace.yaml diff --git a/ray-operator/config/openshift/kustomization.yaml b/ray-operator/config/openshift/kustomization.yaml index 1e39d06f03..7b4955416b 100644 --- a/ray-operator/config/openshift/kustomization.yaml +++ b/ray-operator/config/openshift/kustomization.yaml @@ -36,6 +36,7 @@ commonLabels: app.kubernetes.io/component: kuberay-operator patches: +- path: remove_default_namespace.yaml - path: kuberay-operator-image-patch.yaml target: group: apps diff --git a/ray-operator/config/openshift/remove_default_namespace.yaml b/ray-operator/config/openshift/remove_default_namespace.yaml new file mode 100644 index 0000000000..b5977cc839 --- /dev/null +++ b/ray-operator/config/openshift/remove_default_namespace.yaml @@ -0,0 +1,5 @@ +$patch: delete +apiVersion: v1 +kind: Namespace +metadata: + name: ray-system