Skip to content

Commit 74b09c5

Browse files
committed
Kustomize bmc section as a whole for nova04delta/vfio
...also do not hardcode baremetalset-password-secret Signed-off-by: Bohdan Dobrelia <[email protected]>
1 parent db074b5 commit 74b09c5

File tree

8 files changed

+10
-7
lines changed

8 files changed

+10
-7
lines changed

dt/nova/nova04delta/edpm/nodeset/baremetalhost_template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
automatedCleaningMode: metadata
1313
bmc:
1414
address: _replaced_
15-
credentialsName: bmc-secret
15+
credentialsName: _replaced_
1616
bootMACAddress: _replaced_
1717
bootMode: UEFI
1818
rootDeviceHints: {}

dt/nova/nova04delta/edpm/nodeset/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ replacements:
143143
- source:
144144
kind: ConfigMap
145145
name: edpm-nodeset-values
146-
fieldPath: data.baremetalhosts.edpm-compute-0.bmc.address
146+
fieldPath: data.baremetalhosts.edpm-compute-0.bmc
147147
targets:
148148
- select:
149149
kind: BareMetalHost
150150
name: edpm-compute-0
151151
fieldPaths:
152-
- spec.bmc.address
152+
- spec.bmc
153153
options:
154154
create: true
155155
- source:

dt/nova/nova04delta/edpm/nodeset2/baremetalhost_template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
automatedCleaningMode: metadata
1313
bmc:
1414
address: _replaced_
15-
credentialsName: bmc-secret
15+
credentialsName: _replaced_
1616
bootMACAddress: _replaced_
1717
bootMode: UEFI
1818
rootDeviceHints: {}

dt/nova/nova04delta/edpm/nodeset2/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ replacements:
143143
- source:
144144
kind: ConfigMap
145145
name: edpm-nodeset-values
146-
fieldPath: data.baremetalhosts.edpm-compute-1.bmc.address
146+
fieldPath: data.baremetalhosts.edpm-compute-1.bmc
147147
targets:
148148
- select:
149149
kind: BareMetalHost
150150
name: edpm-compute-1
151151
fieldPaths:
152-
- spec.bmc.address
152+
- spec.bmc
153153
options:
154154
create: true
155155
- source:

examples/dt/nova/nova04delta/edpm/nodeset/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ data:
2121
nodeName: edpm-compute-0
2222
bmc:
2323
address: CHANGEME
24+
credentialsName: bmc-secret
2425
bootMACAddress: CHANGEME
2526
rootDeviceHints:
2627
deviceName: /dev/vda

examples/dt/nova/nova04delta/edpm/nodeset2/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ data:
2121
nodeName: edpm-compute-1
2222
bmc:
2323
address: CHANGEME
24+
credentialsName: bmc-secret
2425
bootMACAddress: CHANGEME
2526
rootDeviceHints:
2627
deviceName: /dev/vda

examples/va/nvidia-vfio-passthrough/edpm/nodeset/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ data:
2121
nodeName: edpm-compute-0
2222
bmc:
2323
address: CHANGEME
24+
credentialsName: bmc-secret
2425
bootMACAddress: CHANGEME
2526
rootDeviceHints:
2627
deviceName: /dev/vda

va/nvidia-vfio-passthrough/edpm/nodeset/baremetalhost_template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
automatedCleaningMode: metadata
1313
bmc:
1414
address: _replaced_
15-
credentialsName: bmc-secret
15+
credentialsName: _replaced_
1616
bootMACAddress: _replaced_
1717
bootMode: UEFI
1818
rootDeviceHints: {}

0 commit comments

Comments
 (0)