From a9560513bfad9003f16b6a13786310143222b48b Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sat, 15 Jan 2022 22:11:53 +0100
Subject: [PATCH] fix(longhorn): Make identification of resources unique

This patch adds the namespace to the kustomize specification to make the
identification unique enough so it no longer has to complain.

Suggestion was taken from a GitHub Issue:

https://github.com/kubernetes-sigs/kustomize/issues/2806
---
 infrastructure/longhorn/release.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infrastructure/longhorn/release.yaml b/infrastructure/longhorn/release.yaml
index ce640d2df..a8271d52b 100644
--- a/infrastructure/longhorn/release.yaml
+++ b/infrastructure/longhorn/release.yaml
@@ -27,6 +27,7 @@ spec:
             apiVersion: apps/v1
             metadata:
               name: longhorn-driver-deployer
+              namespace: longhorn-system
             spec:
               template:
                 spec:
@@ -43,6 +44,7 @@ spec:
             apiVersion: apps/v1
             metadata:
               name: longhorn-manager
+              namespace: longhorn-system
             spec:
               template:
                 spec:
-- 
GitLab