Yoink from myoung

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-11-14 16:36:44 +01:00
parent e76ef18f31
commit 676f64c76e
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,43 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: node-feature-discovery
resources:
- namespace.yaml
helmCharts:
- name: node-feature-discovery
includeCRDs: true
namespace: node-feature-discovery
releaseName: node-feature-discovery
version: 0.14.3
repo: https://kubernetes-sigs.github.io/node-feature-discovery/charts
patches:
- target:
kind: ConfigMap
name: node-feature-discovery-worker-conf
patch: |-
- op: replace
path: /data/nfd-worker.conf
value: |-
sources:
usb:
deviceClassWhitelist:
- "02"
- "08"
- "0e"
- "ef"
- "fe"
- "ff"
deviceLabelFields:
- "class"
- "vendor"
- "device"
pci:
deviceLabelFields:
- "class"
- "vendor"
- "device"
- "subsystem_vendor"
- "subsystem_device"

View File

@ -0,0 +1,7 @@
---
kind: Namespace
apiVersion: v1
metadata:
name: node-feature-discovery
labels:
name: node-feature-discovery

View File

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: node-feature-discovery
namespace: argocd
spec:
destination:
namespace: node-feature-discovery
server: https://kubernetes.default.svc
project: infra
source:
path: apps-kustomized/node-feature-discovery
repoURL: https://git.martyn.berlin/martyn/infra4talos
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true