Skip to content

Commit

Permalink
[argocd] updated core-related application resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Sep 5, 2024
1 parent f1a59ee commit ca2b8c7
Show file tree
Hide file tree
Showing 11 changed files with 167 additions and 209 deletions.
15 changes: 3 additions & 12 deletions apps/argocd/base/core/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
labels:
app: argocd
annotations:
pref.argocd.argoproj.io/default-view: network
argocd.argoproj.io/sync-options: Delete=false
spec:
project: core
source:
Expand All @@ -19,17 +18,9 @@ spec:
automated:
prune: true
selfHeal: true
allowEmpty: true
managedNamespaceMetadata:
labels:
prometheus: enabled
syncOptions:
- Validate=true
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
- Prune=true
- ServerSideApply=true
retry:
limit: 10
backoff:
Expand Down
12 changes: 4 additions & 8 deletions apps/argocd/base/core/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: Application
metadata:
name: data
namespace: argocd
labels:
app.kubernetes.io/category: data
annotations:
argocd.argoproj.io/sync-options: Delete=false
spec:
project: cluster
source:
Expand All @@ -18,13 +18,9 @@ spec:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- Validate=false
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
- ServerSideApply=true
retry:
limit: 10
backoff:
Expand Down
16 changes: 4 additions & 12 deletions apps/argocd/base/core/home.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,24 @@ kind: Application
metadata:
name: home
namespace: argocd
labels:
app.kubernetes.io/category: home
annotations:
argocd.argoproj.io/sync-options: Delete=false
spec:
project: apps
source:
repoURL: "https://github.com/gruberdev/homelab.git"
path: apps/argocd/base/home
targetRevision: main
destination:
namespace: homeassistant
namespace: argocd
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
managedNamespaceMetadata:
labels:
prometheus: enabled
syncOptions:
- Validate=false
- CreateNamespace=true
- Prune=true
- ServerSideApply=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
retry:
limit: 10
backoff:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: crossplane
name: monitoring
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: Delete=false
spec:
project: cluster
project: monitoring
source:
repoURL: 'https://github.com/gruberdev/homelab.git'
path: apps/monitoring/crossplane
path: apps/argocd/base/monitoring
targetRevision: main
destination:
namespace: infrastructure
namespace: argocd
name: in-cluster
syncPolicy:
automated:
prune: false
prune: true
selfHeal: true
allowEmpty: true
syncOptions:
- Validate=false
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=false
- ApplyOutOfSyncOnly=true
- Prune=false
- Prune=true
- ServerSideApply=true
retry:
limit: 10
backoff:
Expand Down
19 changes: 6 additions & 13 deletions apps/argocd/base/core/networking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,24 @@ kind: Application
metadata:
name: networking
namespace: argocd
labels:
app.kubernetes.io/category: networking
annotations:
argocd.argoproj.io/sync-options: Delete=false
spec:
project: networking
project: cluster
source:
repoURL: 'https://github.com/gruberdev/homelab.git'
path: apps/argocd/base/networking
targetRevision: main
destination:
namespace: networking
namespace: argocd
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
managedNamespaceMetadata:
labels:
prometheus: enabled
syncOptions:
- Validate=false
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
- ServerSideApply=true
retry:
limit: 10
backoff:
Expand Down
30 changes: 0 additions & 30 deletions apps/argocd/base/core/nvidia-extra.yaml

This file was deleted.

95 changes: 0 additions & 95 deletions apps/argocd/base/core/nvidia.yaml

This file was deleted.

10 changes: 3 additions & 7 deletions apps/argocd/base/core/private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
project: core
source:
repoURL: 'https://github.com/gruberdev/homelab.git'
repoURL: 'https://github.com/gruberdev/private.git'
path: meta
targetRevision: main
destination:
Expand All @@ -17,12 +17,8 @@ spec:
selfHeal: true
allowEmpty: true
syncOptions:
- Validate=true
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
- Prune=true
- ServerSideApply=true
retry:
limit: 10
backoff:
Expand Down
16 changes: 4 additions & 12 deletions apps/argocd/base/core/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,24 @@ kind: Application
metadata:
name: services
namespace: argocd
labels:
app.kubernetes.io/category: services
annotations:
argocd.argoproj.io/sync-options: Delete=false
spec:
project: apps
source:
repoURL: "https://github.com/gruberdev/homelab.git"
path: apps/argocd/base/services
targetRevision: main
destination:
namespace: services
namespace: argocd
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
managedNamespaceMetadata:
labels:
prometheus: enabled
syncOptions:
- Validate=false
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- ServerSideApply=true
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
retry:
limit: 10
backoff:
Expand Down
12 changes: 4 additions & 8 deletions apps/argocd/base/core/utilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: Application
metadata:
name: utilities
namespace: argocd
labels:
app.kubernetes.io/category: utilities
annotations:
argocd.argoproj.io/sync-options: Delete=false
spec:
project: cluster
source:
Expand All @@ -18,13 +18,9 @@ spec:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- Validate=false
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
- ServerSideApply=true
retry:
limit: 10
backoff:
Expand Down
Loading

0 comments on commit ca2b8c7

Please sign in to comment.