diff --git a/apps/monitoring/prometheus-stack.yaml b/apps/monitoring/prometheus-stack.yaml new file mode 100644 index 0000000..410b19d --- /dev/null +++ b/apps/monitoring/prometheus-stack.yaml @@ -0,0 +1,40 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: monitoring + namespace: argocd +spec: + project: default + + source: + repoURL: https://prometheus-community.github.io/helm-charts + chart: kube-prometheus-stack + targetRevision: 77.* + + helm: + values: | + grafana: + ingress: + enabled: true + ingressClassName: nginx + hosts: + - grafana.home.lan + + prometheus: + ingress: + enabled: true + ingressClassName: nginx + hosts: + - prometheus.home.lan + + destination: + server: https://kubernetes.default.svc + namespace: monitoring + + syncPolicy: + automated: + prune: true + selfHeal: true + + syncOptions: + - CreateNamespace=true diff --git a/uptime-kuma-argocd-app.yaml b/uptime-kuma-argocd-app.yaml new file mode 100644 index 0000000..9d43f20 --- /dev/null +++ b/uptime-kuma-argocd-app.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: uptime-kuma + namespace: argocd +spec: + project: default + source: + repoURL: http://git.home.lan/jay/k8s-gitops.git + targetRevision: main + path: apps/uptime-kuma + destination: + server: https://kubernetes.default.svc + namespace: uptime-kuma + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true