mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-15 13:07:48 +00:00
Replicates nfd-daemonset-combined.yaml.template. In addition to the overlay we need to add a separate set of patches under components/common in order to handle the double-container pod.
37 lines
818 B
YAML
37 lines
818 B
YAML
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
kind: Component
|
|
|
|
patches:
|
|
- path: env.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd.*
|
|
- path: securitycontext.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd.*
|
|
- path: master-affinity.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd-master
|
|
- path: worker-mounts.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd-worker
|
|
# We need separate patches for the "combined" daemonset with two containers in the pod :/
|
|
- path: env-combined.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd
|
|
- path: securitycontext-combined.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd
|
|
- path: master-affinity.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd
|
|
- path: worker-mounts-combined.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd
|