Skip to content

Commit

Permalink
feat: targetNamespace on cluster-meta
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Jan 11, 2025
1 parent d682552 commit 6f4c49f
Show file tree
Hide file tree
Showing 38 changed files with 5 additions and 38 deletions.
6 changes: 5 additions & 1 deletion kubernetes/flux/cluster/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-meta
name: &app cluster-meta
namespace: flux-system
spec:
targetNamespace: flux-system
commonMetadata:
labels:
app.kubernetes.io/name: *app
interval: 30m
path: ./kubernetes/flux/meta
prune: true
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources:
- ./repositories
- ./settings
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/git/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources: []
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: actions-runner-controller
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/backube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: backube
namespace: flux-system
spec:
interval: 2h
url: https://backube.github.io/helm-charts/
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/bitnami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: bitnami
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/bjw-s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: bjw-s
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/cilium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: cilium
namespace: flux-system
spec:
interval: 2h
url: https://helm.cilium.io
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/cloudnative-pg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: cloudnative-pg
namespace: flux-system
spec:
interval: 2h
url: https://cloudnative-pg.github.io/charts
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/controlplaneio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: controlplaneio
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/coredns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: coredns
namespace: flux-system
spec:
interval: 2h
url: https://coredns.github.io/helm
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: crossplane
namespace: flux-system
spec:
interval: 2h
url: https://charts.crossplane.io/stable
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/crunchydata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: crunchydata
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/csi-driver-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: csi-driver-nfs
namespace: flux-system
spec:
interval: 2h
url: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/descheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: descheduler
namespace: flux-system
spec:
interval: 2h
url: https://kubernetes-sigs.github.io/descheduler
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/emqx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: emqx
namespace: flux-system
spec:
interval: 2h
url: https://repos.emqx.io/charts
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/external-dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: external-dns
namespace: flux-system
spec:
interval: 2h
url: https://kubernetes-sigs.github.io/external-dns
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: external-secrets
namespace: flux-system
spec:
interval: 2h
url: https://charts.external-secrets.io
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: fluxcd-community
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: grafana
namespace: flux-system
spec:
interval: 2h
url: https://grafana.github.io/helm-charts
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/ingress-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: ingress-nginx
namespace: flux-system
spec:
interval: 2h
url: https://kubernetes.github.io/ingress-nginx
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: intel
namespace: flux-system
spec:
interval: 2h
url: https://intel.github.io/helm-charts
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/jetstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: jetstack
namespace: flux-system
spec:
interval: 2h
url: https://charts.jetstack.io/
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources:
- ./actions-runner-controller.yaml
- ./backube.yaml
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: kyverno
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/metrics-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: metrics-server
namespace: flux-system
spec:
interval: 2h
url: https://kubernetes-sigs.github.io/metrics-server
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: node-feature-discovery
namespace: flux-system
spec:
interval: 2h
url: https://kubernetes-sigs.github.io/node-feature-discovery/charts
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/openebs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: openebs
namespace: flux-system
spec:
interval: 2h
url: https://openebs.github.io/openebs
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/piraeus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: piraeus
namespace: flux-system
spec:
interval: 2h
url: https://piraeus.io/helm-charts/
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: prometheus-community
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/rook-ceph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: rook-ceph
namespace: flux-system
spec:
interval: 2h
url: https://charts.rook.io/release
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/spegel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: spegel
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/stakater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: stakater
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/stevehipwell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: stevehipwell
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/wiremind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: wiremind
namespace: flux-system
spec:
interval: 2h
url: https://wiremind.github.io/wiremind-helm-charts/
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources:
- ./git
- ./helm
Expand Down
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/oci/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources: []
1 change: 0 additions & 1 deletion kubernetes/flux/meta/settings/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources: []

0 comments on commit 6f4c49f

Please sign in to comment.