Skip to content

Commit ef8ffcf

Browse files
Merge pull request #1399 from cjeanner/services/redhat
Re-add "redhat" service in default service list
2 parents 330f8ad + e149303 commit ef8ffcf

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

apis/bases/dataplane.openstack.org_openstackdataplanenodesets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ spec:
862862
type: integer
863863
services:
864864
default:
865+
- redhat
865866
- download-cache
866867
- bootstrap
867868
- 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
@@ -19349,6 +19349,7 @@ spec:
1934919349
type: integer
1935019350
services:
1935119351
default:
19352+
- redhat
1935219353
- download-cache
1935319354
- bootstrap
1935419355
- configure-network

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ spec:
862862
type: integer
863863
services:
864864
default:
865+
- redhat
865866
- download-cache
866867
- bootstrap
867868
- 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
@@ -314,6 +314,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
314314
}
315315
Expect(dataplaneNodeSetInstance.Spec.Nodes).Should(Equal(nodes))
316316
services := []string{
317+
"redhat",
317318
"download-cache",
318319
"bootstrap",
319320
"configure-network",
@@ -363,6 +364,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
363364
BeforeEach(func() {
364365
nodeSetSpec := DefaultDataPlaneNoNodeSetSpec(tlsEnabled)
365366
nodeSetSpec["services"] = []string{
367+
"redhat",
366368
"download-cache",
367369
"bootstrap",
368370
"configure-network",
@@ -414,6 +416,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
414416
}
415417
Expect(dataplaneNodeSetInstance.Spec.Nodes).Should(Equal(nodes))
416418
services := []string{
419+
"redhat",
417420
"download-cache",
418421
"bootstrap",
419422
"configure-network",
@@ -827,6 +830,7 @@ var _ = Describe("Dataplane NodeSet Test", func() {
827830
}
828831
Expect(dataplaneNodeSetInstance.Spec.Nodes).Should(Equal(nodes))
829832
services := []string{
833+
"redhat",
830834
"download-cache",
831835
"bootstrap",
832836
"configure-network",

0 commit comments

Comments
 (0)