Skip to content

Commit

Permalink
feat(registry): create argocd registry
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 2, 2024
1 parent 0042ec2 commit a1a61bd
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
4 changes: 4 additions & 0 deletions registry/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- registry.yaml
30 changes: 30 additions & 0 deletions registry/base/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: registry
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: 1001
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: [email protected]:mrsimonemms/infrastructure.git
path: null
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 5
backoff:
duration: 5s
maxDuration: 5m0s
factor: 2
6 changes: 6 additions & 0 deletions registry/overlays/dev/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
patchesStrategicMerge:
- registry.yaml
8 changes: 8 additions & 0 deletions registry/overlays/dev/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: registry
namespace: argocd
spec:
source:
path: registry

0 comments on commit a1a61bd

Please sign in to comment.