Add applications to Argo CD kustomization.yaml for enhanced deployment

This commit is contained in:
Nikholas Pcenicni
2026-04-01 02:05:10 -04:00
parent f259285f6e
commit 51eb64dd9d
5 changed files with 125 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
# Bootstrap app-of-apps leaf: Fluent Bit (mirrors ansible role **noble_platform**).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: noble-fluent-bit
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
sources:
- repoURL: https://fluent.github.io/helm-charts
chart: fluent-bit
targetRevision: 0.56.0
helm:
releaseName: fluent-bit
valueFiles:
- $values/clusters/noble/bootstrap/fluent-bit/values.yaml
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: logging
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,30 @@
# Bootstrap app-of-apps leaf: Headlamp (mirrors ansible role **noble_platform**).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: noble-headlamp
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
sources:
- repoURL: https://kubernetes-sigs.github.io/headlamp/
chart: headlamp
targetRevision: 0.40.1
helm:
releaseName: headlamp
valueFiles:
- $values/clusters/noble/bootstrap/headlamp/values.yaml
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: headlamp
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,30 @@
# Bootstrap app-of-apps leaf: kube-prometheus-stack (mirrors ansible role **noble_platform**).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: noble-kube-prometheus
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
sources:
- repoURL: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
targetRevision: 82.15.1
helm:
releaseName: kube-prometheus
valueFiles:
- $values/clusters/noble/bootstrap/kube-prometheus-stack/values.yaml
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -3,4 +3,8 @@
# rest of **clusters/noble/bootstrap** via **noble-bootstrap-root** once automated sync is enabled.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: []
resources:
- kube-prometheus-application.yaml
- loki-application.yaml
- fluent-bit-application.yaml
- headlamp-application.yaml

View File

@@ -0,0 +1,30 @@
# Bootstrap app-of-apps leaf: Loki (mirrors ansible role **noble_platform**).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: noble-loki
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
sources:
- repoURL: https://grafana.github.io/helm-charts
chart: loki
targetRevision: 6.55.0
helm:
releaseName: loki
valueFiles:
- $values/clusters/noble/bootstrap/loki/values.yaml
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: loki
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true