mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-14 04:39:18 +00:00
Implement functionality virtually replicating deployment templates for nfd-master and nfd-worker daemonset (nfd-master.yaml.template and nfd-worker-daemonset.yaml.template) by adding a kustomize overlay named "default". We split the resources into multiple bases (rbac, master and worker-daemonset) so that relevant parts are re-usable in other deployment scenarios added later (e.g. "one-shot job", and "combined daemonset"). This patch adds one component (components/common) doing the required kustomization for the example deployment.
16 lines
276 B
YAML
16 lines
276 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: node-feature-discovery
|
|
|
|
bases:
|
|
- ../../base/rbac
|
|
- ../../base/master
|
|
- ../../base/worker-daemonset
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
|
|
components:
|
|
- ../../components/worker-config
|
|
- ../../components/common
|