From 0723488c4a78dc8c340ae530c74835977cba1ba1 Mon Sep 17 00:00:00 2001 From: Jay Phillips Date: Thu, 18 Jun 2026 17:08:16 +0000 Subject: [PATCH] Add clean NetBox deployment --- apps/netbox/application.yaml | 30 ++++++++++++++++++++++ apps/netbox/values.yaml | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 apps/netbox/application.yaml create mode 100644 apps/netbox/values.yaml diff --git a/apps/netbox/application.yaml b/apps/netbox/application.yaml new file mode 100644 index 0000000..e3254d9 --- /dev/null +++ b/apps/netbox/application.yaml @@ -0,0 +1,30 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: netbox + namespace: argocd +spec: + project: default + + sources: + - repoURL: https://charts.netbox.oss.netboxlabs.com/ + chart: netbox + targetRevision: 5.0.78 + helm: + valueFiles: + - $values/apps/netbox/values.yaml + + - repoURL: http://git.home.lan/jay/k8s-gitops.git + targetRevision: main + ref: values + + destination: + server: https://kubernetes.default.svc + namespace: netbox + + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/apps/netbox/values.yaml b/apps/netbox/values.yaml new file mode 100644 index 0000000..bfab473 --- /dev/null +++ b/apps/netbox/values.yaml @@ -0,0 +1,48 @@ +ingress: + enabled: true + className: nginx + annotations: + cert-manager.io/cluster-issuer: home-lab-ca + hosts: + - host: netbox.home.lan + paths: + - path: / + pathType: Prefix + tls: + - secretName: netbox-home-lan-tls + hosts: + - netbox.home.lan + +persistence: + enabled: true + storageClass: longhorn + size: 20Gi + +postgresql: + enabled: true + image: + registry: docker.io + repository: bitnamilegacy/postgresql + tag: 17.4.0-debian-12-r19 + primary: + persistence: + enabled: true + storageClass: longhorn + size: 20Gi + +redis: + enabled: true + image: + registry: docker.io + repository: bitnamilegacy/redis + tag: 7.4.3-debian-12-r0 + master: + persistence: + storageClass: longhorn + replica: + persistence: + storageClass: longhorn + +global: + security: + allowInsecureImages: true