netbox: Fix unix socket handling
This commit is contained in:
parent
bcca6f1f9d
commit
e2476a4f34
1 changed files with 1 additions and 1 deletions
|
@ -75,11 +75,11 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: netbox-static-files
|
- name: netbox-static-files
|
||||||
mountPath: /opt/netbox/netbox/static
|
mountPath: /opt/netbox/netbox/static
|
||||||
|
{{- if .Values.useUnixSocket }}
|
||||||
- name: netbox-config-files
|
- name: netbox-config-files
|
||||||
mountPath: /etc/netbox/config/gunicorn_config.py
|
mountPath: /etc/netbox/config/gunicorn_config.py
|
||||||
subPath: gunicorn_config.py
|
subPath: gunicorn_config.py
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if .Values.useUnixSocket }}
|
|
||||||
- name: netbox-socket
|
- name: netbox-socket
|
||||||
mountPath: /tmp/netbox
|
mountPath: /tmp/netbox
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue