apiVersion: v1
kind: ConfigMap
metadata:
  name: generic-device-plugin
  labels:
    app.kubernetes.io/instance: generic-device-plugin
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: generic-device-plugin
    app.kubernetes.io/version: 0.20.16
    helm.sh/chart: generic-device-plugin-0.20.17
  namespace: generic-device-plugin
data:
  config.yaml: |
    devices:
      - name: tun
        groups:
          - count: 1000
            paths:
              - path: /dev/net/tun
