Skip to content

Commit

Permalink
Renew homelab
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Dec 20, 2024
1 parent cf46c2e commit 210ec42
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
43 changes: 43 additions & 0 deletions aks/argocd/1-bootstrap/apps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: apps
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
# The project the application belongs to.
project: default

# Source of the application manifests
source:
repoURL: https://github.com/jkroepke/homelab.git
targetRevision: HEAD
path: aks/argocd/2-apps

# Destination cluster and namespace to deploy the application
destination:
server: https://kubernetes.default.svc
namespace: argocd

# Sync policy
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- Validate=true
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- PruneLast=true
- RespectIgnoreDifferences=true

retry:
limit: -1
backoff:
duration: 5s
factor: 2
maxDuration: 3m

revisionHistoryLimit: 1
File renamed without changes.
47 changes: 47 additions & 0 deletions aks/argocd/2-apps/argocd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
# The project the application belongs to.
project: default

# Source of the application manifests
source:
repoURL: https://argoproj.github.io/argo-helm
targetRevision: 7.7.10
chart: chart-name # Set this when pulling directly from a Helm repo. DO NOT set for git-hosted Helm charts.
helm:
releaseName: argocd
ignoreMissingValueFiles: false
valuesObject: {}

# Destination cluster and namespace to deploy the application
destination:
server: https://kubernetes.default.svc
namespace: argocd

# Sync policy
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- Validate=true
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- PruneLast=true
- RespectIgnoreDifferences=true

retry:
limit: -1
backoff:
duration: 5s
factor: 2
maxDuration: 3m

revisionHistoryLimit: 1

0 comments on commit 210ec42

Please sign in to comment.