---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: dhcp-server
  namespace: kube-system
spec:
  selector:
    matchLabels:
      app: dhcp-server
  template:
    metadata:
      labels:
        app: dhcp-server
    spec:
      containers:
      - args:
        - sleep 1000000000;
        command:
        - /bin/sh
        - -c
        - --
        image: xunholy/dhcp-server:latest
        imagePullPolicy: Always
        name: dhcp-server
        resources: {}
        securityContext: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/dhcp
          name: server-config
      hostNetwork: true
      volumes:
      - emptyDir: {}
        name: server-config
