From e2476a4f348d2653f49ae739cf31af2c532c8304 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Mon, 24 Aug 2020 07:53:30 +0200 Subject: [PATCH] netbox: Fix unix socket handling --- charts/netbox/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/netbox/templates/deployment.yaml b/charts/netbox/templates/deployment.yaml index 6e3ab31..eee7f38 100644 --- a/charts/netbox/templates/deployment.yaml +++ b/charts/netbox/templates/deployment.yaml @@ -75,11 +75,11 @@ spec: volumeMounts: - name: netbox-static-files mountPath: /opt/netbox/netbox/static + {{- if .Values.useUnixSocket }} - name: netbox-config-files mountPath: /etc/netbox/config/gunicorn_config.py subPath: gunicorn_config.py readOnly: true - {{- if .Values.useUnixSocket }} - name: netbox-socket mountPath: /tmp/netbox {{- end }}