1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 08:17:04 +00:00
node-feature-discovery/deployment/overlays/samples/custom-rules/kustomization.yaml
Markus Lehtonen 3737e0f6a3 kustomize: add an example custom rules configmap
Add an example kustomize overlay for deploying a configmap specifying
extra rules for the custom feature source.
2021-08-18 14:05:57 +03:00

18 lines
323 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: node-feature-discovery
resources:
- ../../default
configMapGenerator:
- name: custom-source-extra-rules-1
files:
- custom.conf=custom-rules.example.yaml
patches:
- path: mounts.yaml
target:
labelSelector: app=nfd
name: nfd-worker