From ef577e3bafe78c5b60f1ae0a74fb5a689a0cfba5 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Thu, 13 Oct 2022 03:11:33 +0200
Subject: [PATCH] fix(iot): Add namespaces to kuzstomization

This patch adds namespace definitions, in order to resolve the
Kubernetes objects properly. This will allow the expected patching to
work.
---
 apps/base/iot/kustomization.yaml  | 1 +
 apps/k8s01/iot/kustomization.yaml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/apps/base/iot/kustomization.yaml b/apps/base/iot/kustomization.yaml
index 08117a97c..f07431890 100644
--- a/apps/base/iot/kustomization.yaml
+++ b/apps/base/iot/kustomization.yaml
@@ -1,5 +1,6 @@
 apiVersion: kustomize.config.k8s.io/v1beta1
 kind: Kustomization
+namespace: iot
 resources:
 - namespace.yaml
 - shelly-exporter.yaml
diff --git a/apps/k8s01/iot/kustomization.yaml b/apps/k8s01/iot/kustomization.yaml
index 34b47c4fe..a6378a6d5 100644
--- a/apps/k8s01/iot/kustomization.yaml
+++ b/apps/k8s01/iot/kustomization.yaml
@@ -1,5 +1,6 @@
 apiVersion: kustomize.config.k8s.io/v1beta1
 kind: Kustomization
+namespace: iot
 resources:
 - ../../base/iot
 - certificate.yaml
-- 
GitLab