Skip to content

Commit 103c41e

Browse files
committed
redis is stateless so no point in pulling it out of the cluster
1 parent 6da0462 commit 103c41e

File tree

2 files changed

+2
-49
lines changed

2 files changed

+2
-49
lines changed

nbc-helm.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,9 @@ helm install netbox oci://ghcr.io/netbox-community/netbox-chart/netbox \
77
--set postgresql.enabled=false \
88
--set externalDatabase.host=$(terraform output -raw postgres_host) \
99
--set externalDatabase.password=$(terraform output -raw postgres_password) \
10-
--set valkey.enabled=false \
11-
--set tasksDatabase.host=$(terraform output -raw redis_host) \
12-
--set cachingDatabase.host=$(terraform output -raw redis_host)
13-
14-
kubectl -n netbox create secret generic netbox-valkey \
15-
--from-literal=cache_password="" \
16-
--from-literal=task_password=""
1710

1811
# admin password
1912
kubectl -n netbox get secrets netbox-superuser -o jsonpath="{.data.password}" | base64 --decode
2013

21-
# port forward
22-
# kubectl -n netbox port-forward svc/netbox 8080:80
23-
24-
# cleanup
25-
# helm -n netbox uninstall netbox
14+
echo # newline
15+
echo "kubectl -n netbox port-forward svc/netbox 8080:80"

redis.tf

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)