Skip to content

Commit 858874d

Browse files
Merge pull request #1433 from openshift-cherrypick-robot/cherry-pick-1399-to-18.0-fr2
[18.0-fr2] Re-add "redhat" service in default service list
2 parents 9ed682e + 9e848a7 commit 858874d

6 files changed

Lines changed: 9 additions & 1 deletion

File tree

apis/bases/dataplane.openstack.org_openstackdataplanenodesets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ spec:
860860
type: integer
861861
services:
862862
default:
863+
- redhat
863864
- download-cache
864865
- bootstrap
865866
- configure-network

apis/dataplane/v1beta1/openstackdataplanenodeset_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type OpenStackDataPlaneNodeSetSpec struct {
6161
NetworkAttachments []string `json:"networkAttachments,omitempty"`
6262

6363
// +kubebuilder:validation:Optional
64-
// +kubebuilder:default={download-cache,bootstrap,configure-network,validate-network,install-os,configure-os,ssh-known-hosts,run-os,reboot-os,install-certs,ovn,neutron-metadata,libvirt,nova,telemetry}
64+
// +kubebuilder:default={redhat,download-cache,bootstrap,configure-network,validate-network,install-os,configure-os,ssh-known-hosts,run-os,reboot-os,install-certs,ovn,neutron-metadata,libvirt,nova,telemetry}
6565
// Services list
6666
Services []string `json:"services"`
6767

bindata/crds/crds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18882,6 +18882,7 @@ spec:
1888218882
type: integer
1888318883
services:
1888418884
default:
18885+
- redhat
1888518886
- download-cache
1888618887
- bootstrap
1888718888
- configure-network

config/crd/bases/dataplane.openstack.org_openstackdataplanenodesets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ spec:
860860
type: integer
861861
services:
862862
default:
863+
- redhat
863864
- download-cache
864865
- bootstrap
865866
- configure-network

config/samples/dataplane_v1beta1_openstackdataplanenodeset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ spec:
88
- name: ANSIBLE_FORCE_COLOR
99
value: "True"
1010
services:
11+
- redhat
1112
- bootstrap
1213
- download-cache
1314
- configure-network

tests/functional/dataplane/openstackdataplanenodeset_controller_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
319319
}
320320
Expect(dataplaneNodeSetInstance.Spec.Nodes).Should(Equal(nodes))
321321
services := []string{
322+
"redhat",
322323
"download-cache",
323324
"bootstrap",
324325
"configure-network",
@@ -368,6 +369,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
368369
BeforeEach(func() {
369370
nodeSetSpec := DefaultDataPlaneNoNodeSetSpec(tlsEnabled)
370371
nodeSetSpec["services"] = []string{
372+
"redhat",
371373
"download-cache",
372374
"bootstrap",
373375
"configure-network",
@@ -419,6 +421,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
419421
}
420422
Expect(dataplaneNodeSetInstance.Spec.Nodes).Should(Equal(nodes))
421423
services := []string{
424+
"redhat",
422425
"download-cache",
423426
"bootstrap",
424427
"configure-network",
@@ -841,6 +844,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
841844
}
842845
Expect(dataplaneNodeSetInstance.Spec.Nodes).Should(Equal(nodes))
843846
services := []string{
847+
"redhat",
844848
"download-cache",
845849
"bootstrap",
846850
"configure-network",

0 commit comments

Comments
 (0)