Add clean NetBox deployment
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user