Skip to content

Commit

Permalink
fix: rename path to old cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Jun 14, 2024
1 parent 37476ed commit f85315c
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 139 deletions.
4 changes: 2 additions & 2 deletions kubernetes/main/apps/cert-manager/cert-manager/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/cert-manager/cert-manager/app
path: ./kubernetes/main/apps/cert-manager/cert-manager/app
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -31,7 +31,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: cert-manager
path: ./kubernetes/apps/cert-manager/cert-manager/issuers
path: ./kubernetes/main/apps/cert-manager/cert-manager/issuers
prune: true
sourceRef:
kind: GitRepository
Expand Down
5 changes: 0 additions & 5 deletions kubernetes/main/apps/database/kustomization.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions kubernetes/main/apps/database/namespace.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions kubernetes/main/apps/database/postgres/app/helmrelease.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions kubernetes/main/apps/database/postgres/app/kustomization.yaml

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions kubernetes/main/apps/database/postgres/ks.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion kubernetes/main/apps/default/homepage/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/default/homepage/app
path: ./kubernetes/main/apps/default/homepage/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/flux-system/webhooks/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/flux-system/webhooks/app
path: ./kubernetes/main/apps/flux-system/webhooks/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/kube-system/cilium/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/kube-system/cilium/app
path: ./kubernetes/main/apps/kube-system/cilium/app
prune: false # never should be deleted
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/kube-system/csi-driver-nfs/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/kube-system/csi-driver-nfs/app
path: ./kubernetes/main/apps/kube-system/csi-driver-nfs/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/kube-system/descheduler/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/kube-system/descheduler/app
path: ./kubernetes/main/apps/kube-system/descheduler/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/media/immich/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/media/immich/app
path: ./kubernetes/main/apps/media/immich/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/media/jellyfin/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/media/jellyfin/app
path: ./kubernetes/main/apps/media/jellyfin/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/network/cloudflared/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: external-dns
path: ./kubernetes/apps/network/cloudflared/app
path: ./kubernetes/main/apps/network/cloudflared/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/main/apps/network/echo-server/ks.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -9,7 +10,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/network/echo-server/app
path: ./kubernetes/main/apps/network/echo-server/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/main/apps/network/external-dns/ks.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -9,7 +10,7 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/network/external-dns/app
path: ./kubernetes/main/apps/network/external-dns/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/network/ingress-nginx/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: cert-manager-issuers
path: ./kubernetes/apps/network/ingress-nginx/certificates
path: ./kubernetes/main/apps/network/ingress-nginx/certificates
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -33,7 +33,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: ingress-nginx-certificates
path: ./kubernetes/apps/network/ingress-nginx/internal
path: ./kubernetes/main/apps/network/ingress-nginx/internal
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -55,7 +55,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: ingress-nginx-certificates
path: ./kubernetes/apps/network/ingress-nginx/external
path: ./kubernetes/main/apps/network/ingress-nginx/external
prune: true
sourceRef:
kind: GitRepository
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/main/flux/config/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
# exclude all
/*
# include kubernetes directory
!/kubernetes
!/kubernetes/main
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
Expand All @@ -24,7 +24,7 @@ metadata:
namespace: flux-system
spec:
interval: 30m
path: ./kubernetes/flux
path: ./kubernetes/main/flux
prune: true
wait: false
sourceRef:
Expand Down

0 comments on commit f85315c

Please sign in to comment.