apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" labels: app.kubernetes.io/name: netbox name: netbox-worker namespace: netbox spec: selector: matchLabels: app.kubernetes.io/name: netbox template: metadata: annotations: {} labels: app.kubernetes.io/name: netbox spec: containers: - command: - /opt/netbox/venv/bin/python3 - /opt/netbox/netbox/manage.py - rqworker env: - name: REDIS_PASSWORD valueFrom: secretKeyRef: key: redis-password name: redis - name: DB_PASSWORD valueFrom: secretKeyRef: key: postgres-password name: netbox-postgresql envFrom: - configMapRef: name: netbox - secretRef: name: netbox image: netboxcommunity/netbox:v3.4.2 imagePullPolicy: Always name: netbox-worker resources: {} restartPolicy: Always securityContext: {}