Skip to content

Commit

Permalink
Remove init containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Mar 30, 2024
1 parent 115b94e commit 6ceb1f9
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions netbox/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,81 +14,6 @@ spec:
app: netbox
role: server
spec:
initContainers:
- name: migrate
image: docker.io/netboxcommunity/netbox
envFrom:
- configMapRef:
name: netbox-env
- secretRef:
name: netbox-secret-key
volumeMounts:
- mountPath: /media
name: media
args:
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- migrate
- --no-input
- name: trace-paths
image: docker.io/netboxcommunity/netbox
envFrom:
- configMapRef:
name: netbox-env
- secretRef:
name: netbox-secret-key
volumeMounts:
- mountPath: /media
name: media
args:
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- trace_paths
- --no-input
- name: remove-stale-contenttypes
image: docker.io/netboxcommunity/netbox
envFrom:
- configMapRef:
name: netbox-env
- secretRef:
name: netbox-secret-key
volumeMounts:
- mountPath: /media
name: media
args:
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- remove_stale_contenttypes
- --no-input
- name: clearsessions
image: docker.io/netboxcommunity/netbox
envFrom:
- configMapRef:
name: netbox-env
- secretRef:
name: netbox-secret-key
volumeMounts:
- mountPath: /media
name: media
args:
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- clearsessions
- name: reindex
image: docker.io/netboxcommunity/netbox
envFrom:
- configMapRef:
name: netbox-env
- secretRef:
name: netbox-secret-key
volumeMounts:
- mountPath: /media
name: media
args:
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- reindex
- --lazy
containers:
- name: server
image: docker.io/netboxcommunity/netbox
Expand Down

0 comments on commit 6ceb1f9

Please sign in to comment.