Add missing and remove parent labels for subcluster workers

Change-Id: Iaeb52c5623ba00ce6c17bb17efab0fcef46d1bf0
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
Andrii Ostapenko 2021-06-29 19:00:24 -06:00
parent ebc9c55ac0
commit 5d25216c2f
No known key found for this signature in database
GPG Key ID: F3E83668DBB223B3
4 changed files with 9 additions and 0 deletions

View File

@ -10,3 +10,4 @@ spec:
matchLabels:
sip.airshipit.org/cluster-namespace: lma-infra
sip.airshipit.org/cluster-name: lma
sip.airshipit.org/node-type: Worker

View File

@ -9,3 +9,4 @@ spec:
matchLabels:
sip.airshipit.org/cluster-namespace: wordpress-infra
sip.airshipit.org/cluster-name: wordpress
sip.airshipit.org/node-type: Worker

View File

@ -3,5 +3,10 @@ kind: Kustomization
resources:
- ../../../../../airshipctl/manifests/function/workers-capm3
patches:
- target:
kind: Metal3MachineTemplate
path: m3mt-delete-labels.yaml
# NOTE: CAPI objects must be in the same namespace in which ViNO applies BMHs.
namespace: vino-system

View File

@ -0,0 +1,2 @@
- op: remove
path: "/spec/template/spec/hostSelector"