netbox: Fix unix socket handling

This commit is contained in:
Alexander "Ace" Olofsson 2020-08-24 07:53:30 +02:00
parent bcca6f1f9d
commit e2476a4f34
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -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 }}