diff --git a/apps-kustomized/node-feature-discovery/kustomization.yaml b/apps-kustomized/node-feature-discovery/kustomization.yaml new file mode 100644 index 0000000..e548a5b --- /dev/null +++ b/apps-kustomized/node-feature-discovery/kustomization.yaml @@ -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" diff --git a/apps-kustomized/node-feature-discovery/namespace.yaml b/apps-kustomized/node-feature-discovery/namespace.yaml new file mode 100644 index 0000000..bc9bcd3 --- /dev/null +++ b/apps-kustomized/node-feature-discovery/namespace.yaml @@ -0,0 +1,7 @@ +--- +kind: Namespace +apiVersion: v1 +metadata: + name: node-feature-discovery + labels: + name: node-feature-discovery diff --git a/everything-app/node-feature-discovery.yaml b/everything-app/node-feature-discovery.yaml new file mode 100644 index 0000000..4589703 --- /dev/null +++ b/everything-app/node-feature-discovery.yaml @@ -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