Add nodeselector to init infra components

* Add nodeselector to ironic, baremetal-operator and capm3

Relates-To: #407

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Iba71666c333c9f551e51b1cae7145a64eda03ce1
This commit is contained in:
Sreejith Punnapuzha 2021-01-28 14:22:57 -06:00
parent f0e80cfdc5
commit a60d54e34c
5 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ironic
spec:
template:
spec:
nodeSelector:
kubernetes.io/os: linux

View File

@ -13,3 +13,5 @@ namespace: metal3
patchesStrategicMerge:
- ironic_toleration_patch.yaml
- ironic_nodeselector_patch.yaml
- operator_nodeselector_patch.yaml

View File

@ -0,0 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: metal3-baremetal-operator
spec:
template:
spec:
nodeSelector:
kubernetes.io/os: linux

View File

@ -12,3 +12,4 @@ patchesStrategicMerge:
- manager_pull_policy.yaml
- manager_auth_proxy_patch.yaml
- manager_toleration_patch.yaml
- manager_nodeselector_patch.yaml

View File

@ -0,0 +1,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
nodeSelector:
kubernetes.io/os: linux