#! wol-deployment.yaml # Generated code, do not edit apiVersion: apps/v1 kind: Deployment metadata: name: wol labels: app.kubernetes.io/part-of: wol-rest app.kubernetes.io/component: wol spec: replicas: 1 selector: matchLabels: app.kubernetes.io/part-of: wol-rest app.kubernetes.io/component: wol strategy: type: Recreate template: metadata: labels: app.kubernetes.io/part-of: wol-rest app.kubernetes.io/component: wol spec: hostNetwork: true containers: - name: wol image: carnyc/wakeonlan:2.0 imagePullPolicy: IfNotPresent env: - name: WOLFILE value: "/data/computer.csv" - name: WOLHTTPPORT value: "8080" ports: - name: wol-8080 containerPort: 8080 volumeMounts: - name: data-computer-csv mountPath: /data/computer.csv readOnly: true subPath: computer.csv volumes: - name: data-computer-csv configMap: name: wol-csv