Netbox helm
Jump to navigation
Jump to search
This needs some changes but is a start
helm install netbox oci://ghcr.io/netbox-community/netbox-chart/netbox \ --set superuser.password=yourSuperuserPassword \ --set superuser.apiToken=yourSuperuserApiToken \ --set secretKey=yourRandomSecretKey \ --set postgresql.auth.password=yourPostgresPassword \ --set redis.tasksRedis.password=yourRedisPassword \ --set redis.cachingRedis.password=yourRedisPassword \ --set ingress.enabled=true \ --set ingress.hosts[0].host=netbox.yourdomain.com \ --set ingress.hosts[0].paths[0].path=/ \ --set ingress.hosts[0].paths[0].pathType=ImplementationSpecific \ --set ingress.tls[0].hosts[0]=netbox.yourdomain.com \ --set ingress.tls[0].secretName=netbox-tls-secret
envtpl --keep-template postgresql.values.yaml.tpl kubectl_apply "-f postgresql.values.yaml" export NETBOX_POSTGRESQL_PASSWORD=$(kubectl get secret postgresql-app --template={{.data.password}} | base64 -d) envtpl --keep-template secrets.yaml.tpl kubectl_apply "-f secrets.yaml" envtpl --keep-template netbox.values.yaml.tpl helm_upgrade "--install netbox oci://ghcr.io/netbox-community/netbox-chart/netbox --set worker.enabled=false --set global.redis.password=$NETBOX_REDIS_PASSWORD -f netbox.values.yaml --version=5.0.19"