feat(argocd): Deploying Plex and HAss using ArgoCD

This commit is contained in:
Vegard Hagen
2022-12-30 18:38:40 +01:00
parent 7a9f9e281e
commit 6140fc8370
5 changed files with 52 additions and 8 deletions
+16
View File
@@ -0,0 +1,16 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: home-assistant
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: home-assistant
name: in-cluster
project: default
source:
path: apps/home-assistant
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
-8
View File
@@ -1,8 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- arr
- plex
- home-assistant
- whoami
+16
View File
@@ -0,0 +1,16 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: plex
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: plex
name: in-cluster
project: default
source:
path: apps/plex
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
+19
View File
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: applications
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: applications
name: in-cluster
project: default
source:
path: apps
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
syncPolicy:
syncOptions:
- CreateNamespace=true
+1
View File
@@ -6,6 +6,7 @@ resources:
- namespace.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- ingress.yaml
- applications.yaml
# Let Traefik manage TLS-termination
patchesStrategicMerge: