feat: initial homelab-gitops declarative structure (Terraform & ArgoCD)
This commit is contained in:
27
argocd/spaceport/coder-app.yaml
Normal file
27
argocd/spaceport/coder-app.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spaceport-coder
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: spaceport-coder
|
||||
cluster: spaceport
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: manifests/spaceport/coder
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
27
argocd/spaceport/gitea-app.yaml
Normal file
27
argocd/spaceport/gitea-app.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spaceport-gitea
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: spaceport-gitea
|
||||
cluster: spaceport
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: manifests/spaceport/gitea
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
27
argocd/spaceport/homepage-app.yaml
Normal file
27
argocd/spaceport/homepage-app.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spaceport-homepage
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: spaceport-homepage
|
||||
cluster: spaceport
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: manifests/spaceport/homepage
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
27
argocd/spaceport/jenkins-app.yaml
Normal file
27
argocd/spaceport/jenkins-app.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spaceport-jenkins
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: spaceport-jenkins
|
||||
cluster: spaceport
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: manifests/spaceport/jenkins
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
27
argocd/spaceport/semaphore-app.yaml
Normal file
27
argocd/spaceport/semaphore-app.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spaceport-semaphore
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: spaceport-semaphore
|
||||
cluster: spaceport
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: manifests/spaceport/semaphore
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
27
argocd/spaceport/zabbix-app.yaml
Normal file
27
argocd/spaceport/zabbix-app.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spaceport-zabbix
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: spaceport-zabbix
|
||||
cluster: spaceport
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: manifests/spaceport/zabbix
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: zabbix
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
Reference in New Issue
Block a user