Skip to content

Commit

Permalink
refactor: add namespace into each component
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 14, 2024
1 parent 660167a commit 49149fd
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 61 deletions.
33 changes: 0 additions & 33 deletions registry/clusters/dev/components/external-secret-stores.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions registry/clusters/prod/components/external-secret-stores.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion registry/components/cert-manager/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ metadata:
spec:
project: default
source:
chart: cert-manager
repoURL: https://charts.jetstack.io
targetRevision: v1.16.1
helm:
valuesObject:
installCRDs: true
chart: cert-manager
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
Expand Down
1 change: 1 addition & 0 deletions registry/components/cert-manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kind: Kustomization
resources:
- application.yaml
- clusterissuers.yaml
- namespace.yaml
6 changes: 6 additions & 0 deletions registry/components/cert-manager/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
annotations:
argocd.argoproj.io/sync-wave: "-1"
1 change: 1 addition & 0 deletions registry/components/external-dns/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
- namespace.yaml
- secret.yaml
6 changes: 6 additions & 0 deletions registry/components/external-dns/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: external-dns
annotations:
argocd.argoproj.io/sync-wave: "-1"
4 changes: 0 additions & 4 deletions registry/components/external-secret-stores/kustomization.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterSecretStore
metadata:
name: infisical
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/sync-wave: "20"
spec:
provider:
Expand Down
2 changes: 2 additions & 0 deletions registry/components/external-secrets/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
- infisical.yaml
- namespace.yaml
2 changes: 1 addition & 1 deletion registry/components/reloader/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ metadata:
spec:
project: default
source:
chart: reloader
repoURL: https://stakater.github.io/stakater-charts
targetRevision: 1.1.0
helm:
valuesObject:
reloader:
watchGlobally: true
chart: reloader
destination:
server: https://kubernetes.default.svc
namespace: reloader
Expand Down
1 change: 1 addition & 0 deletions registry/components/reloader/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
- namespace.yaml
6 changes: 6 additions & 0 deletions registry/components/reloader/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: reloader
annotations:
argocd.argoproj.io/sync-wave: "-1"

0 comments on commit 49149fd

Please sign in to comment.