From ee0352a084c6afcddad2ee9fc1b64529b37006ca Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Wed, 6 Oct 2021 17:16:29 +0200
Subject: [PATCH] Add namespace to flux sources for renovatebot

---
 flux2/infrastructure/sources/bitnami.yaml                | 1 +
 flux2/infrastructure/sources/grafana.yaml                | 1 +
 flux2/infrastructure/sources/ingress-nginx.yaml          | 1 +
 flux2/infrastructure/sources/jetstack.yaml               | 3 ++-
 flux2/infrastructure/sources/local-path-provisioner.yaml | 1 +
 flux2/infrastructure/sources/nextcloud.yaml              | 1 +
 flux2/infrastructure/sources/prometheus-community.yaml   | 1 +
 flux2/infrastructure/sources/rocketchat-helm-chart.yaml  | 1 +
 flux2/infrastructure/sources/single-sign-on.yaml         | 1 +
 flux2/infrastructure/sources/vmware-tanzu.yaml           | 1 +
 flux2/infrastructure/sources/wekan.yaml                  | 1 +
 flux2/infrastructure/sources/wikimedia.yaml              | 1 +
 flux2/infrastructure/sources/wordpress.yaml              | 1 +
 13 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/flux2/infrastructure/sources/bitnami.yaml b/flux2/infrastructure/sources/bitnami.yaml
index 87a14bf7e..8c7e13f67 100644
--- a/flux2/infrastructure/sources/bitnami.yaml
+++ b/flux2/infrastructure/sources/bitnami.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: bitnami
+  namespace: flux-system
 spec:
   interval: 1h
   url: https://charts.bitnami.com/bitnami
diff --git a/flux2/infrastructure/sources/grafana.yaml b/flux2/infrastructure/sources/grafana.yaml
index 642e4ddf4..a0bf2a637 100644
--- a/flux2/infrastructure/sources/grafana.yaml
+++ b/flux2/infrastructure/sources/grafana.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: grafana
+  namespace: flux-system
 spec:
   interval: 1h
   url: https://grafana.github.io/helm-charts
diff --git a/flux2/infrastructure/sources/ingress-nginx.yaml b/flux2/infrastructure/sources/ingress-nginx.yaml
index d58ea237d..bc939175c 100644
--- a/flux2/infrastructure/sources/ingress-nginx.yaml
+++ b/flux2/infrastructure/sources/ingress-nginx.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: ingress-nginx
+  namespace: flux-system
 spec:
   interval: 1h
   url: https://kubernetes.github.io/ingress-nginx
diff --git a/flux2/infrastructure/sources/jetstack.yaml b/flux2/infrastructure/sources/jetstack.yaml
index d926c1d4b..464db14e6 100644
--- a/flux2/infrastructure/sources/jetstack.yaml
+++ b/flux2/infrastructure/sources/jetstack.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: jetstack
+  namespace: flux-system
 spec:
   interval: 1h
-  url: https://charts.jetstack.io
\ No newline at end of file
+  url: https://charts.jetstack.io
diff --git a/flux2/infrastructure/sources/local-path-provisioner.yaml b/flux2/infrastructure/sources/local-path-provisioner.yaml
index 22b63e731..130194473 100644
--- a/flux2/infrastructure/sources/local-path-provisioner.yaml
+++ b/flux2/infrastructure/sources/local-path-provisioner.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: GitRepository
 metadata:
   name: local-path-provisioner
+  namespace: flux-system
 spec:
   # The interval at which to check the upstream for updates
   interval: 1h
diff --git a/flux2/infrastructure/sources/nextcloud.yaml b/flux2/infrastructure/sources/nextcloud.yaml
index 1117445e4..73aca893d 100644
--- a/flux2/infrastructure/sources/nextcloud.yaml
+++ b/flux2/infrastructure/sources/nextcloud.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: GitRepository
 metadata:
   name: nextcloud
+  namespace: flux-system
 spec:
   # The interval at which to check the upstream for updates
   interval: 1h
diff --git a/flux2/infrastructure/sources/prometheus-community.yaml b/flux2/infrastructure/sources/prometheus-community.yaml
index 76348e942..7b9d5d41a 100644
--- a/flux2/infrastructure/sources/prometheus-community.yaml
+++ b/flux2/infrastructure/sources/prometheus-community.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: prometheus-community
+  namespace: flux-system
 spec:
   interval: 1h
   url: https://prometheus-community.github.io/helm-charts
diff --git a/flux2/infrastructure/sources/rocketchat-helm-chart.yaml b/flux2/infrastructure/sources/rocketchat-helm-chart.yaml
index c7636940a..a4e0ea313 100644
--- a/flux2/infrastructure/sources/rocketchat-helm-chart.yaml
+++ b/flux2/infrastructure/sources/rocketchat-helm-chart.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: GitRepository
 metadata:
   name: rocketchat-helm-chart
+  namespace: flux-system
 spec:
   # The interval at which to check the upstream for updates
   interval: 1h
diff --git a/flux2/infrastructure/sources/single-sign-on.yaml b/flux2/infrastructure/sources/single-sign-on.yaml
index b4f1a8459..0b51a45cc 100644
--- a/flux2/infrastructure/sources/single-sign-on.yaml
+++ b/flux2/infrastructure/sources/single-sign-on.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: GitRepository
 metadata:
   name: single-sign-on
+  namespace: flux-system
 spec:
   # The interval at which to check the upstream for updates
   interval: 1h
diff --git a/flux2/infrastructure/sources/vmware-tanzu.yaml b/flux2/infrastructure/sources/vmware-tanzu.yaml
index e2dd4fe69..8f3ee03a1 100644
--- a/flux2/infrastructure/sources/vmware-tanzu.yaml
+++ b/flux2/infrastructure/sources/vmware-tanzu.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: vmware-tanzu
+  namespace: flux-system
 spec:
   interval: 1h
   url: https://vmware-tanzu.github.io/helm-charts
diff --git a/flux2/infrastructure/sources/wekan.yaml b/flux2/infrastructure/sources/wekan.yaml
index 136e2891f..d6fc69106 100644
--- a/flux2/infrastructure/sources/wekan.yaml
+++ b/flux2/infrastructure/sources/wekan.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: GitRepository
 metadata:
   name: wekan
+  namespace: flux-system
 spec:
   # The interval at which to check the upstream for updates
   interval: 1h
diff --git a/flux2/infrastructure/sources/wikimedia.yaml b/flux2/infrastructure/sources/wikimedia.yaml
index c1d536c2a..d7c3c236f 100644
--- a/flux2/infrastructure/sources/wikimedia.yaml
+++ b/flux2/infrastructure/sources/wikimedia.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: HelmRepository
 metadata:
   name: wikimedia
+  namespace: flux-system
 spec:
   interval: 1h
   url: https://helm-charts.wikimedia.org/stable/
diff --git a/flux2/infrastructure/sources/wordpress.yaml b/flux2/infrastructure/sources/wordpress.yaml
index 0057c5409..e8743410c 100644
--- a/flux2/infrastructure/sources/wordpress.yaml
+++ b/flux2/infrastructure/sources/wordpress.yaml
@@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1
 kind: GitRepository
 metadata:
   name: wordpress
+  namespace: flux-system
 spec:
   # The interval at which to check the upstream for updates
   interval: 1h
-- 
GitLab