Skip to content

Commit

Permalink
chore(flux): target namespace for meta
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Jan 11, 2025
1 parent 209c08e commit cf5b18e
Show file tree
Hide file tree
Showing 28 changed files with 5 additions and 30 deletions.
8 changes: 5 additions & 3 deletions kubernetes/flux/cluster/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ metadata:
name: cluster-meta
namespace: flux-system
spec:
interval: 30m
targetNamespace: flux-system
path: ./kubernetes/flux/meta
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-system
decryption:
provider: sops
secretRef:
name: sops-age
wait: true
interval: 30m
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps
namespace: flux-system
spec:
interval: 30m
dependsOn:
- name: cluster-meta
path: ./kubernetes/apps
Expand All @@ -35,6 +35,8 @@ spec:
provider: sops
secretRef:
name: sops-age
wait: false
interval: 30m
postBuild:
substituteFrom:
- kind: ConfigMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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 @@ -3,7 +3,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/bjw-s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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/deliveryhero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: deliveryhero
namespace: flux-system
spec:
interval: 2h
url: https://charts.deliveryhero.io/
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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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
1 change: 0 additions & 1 deletion kubernetes/flux/meta/repositories/helm/fairwinds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: fairwinds
namespace: flux-system
spec:
interval: 2h
url: https://charts.fairwinds.com/stable
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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: jetstack
namespace: flux-system
spec:
interval: 2h
url: https://charts.jetstack.io/
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: kubernetes-sigs-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/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,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 @@ -3,7 +3,6 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: stevehipwell
namespace: flux-system
spec:
type: oci
interval: 5m
Expand Down

0 comments on commit cf5b18e

Please sign in to comment.