Skip to content

Commit b899e98

Browse files
committed
Merge branch 'main' into cloudkitty
2 parents 695b258 + d2882c8 commit b899e98

20 files changed

Lines changed: 615 additions & 31 deletions

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
ARG GOLANG_BUILDER=registry.access.redhat.com/ubi9/go-toolset:1.24
1+
# TODO(amoralej) go-toolset image pinned until a fix is provided for
2+
# https://issues.redhat.com/browse/RHEL-128838
3+
ARG GOLANG_BUILDER=registry.access.redhat.com/ubi9/go-toolset:1.24.6-1762230058
24
ARG OPERATOR_BASE_IMAGE=registry.access.redhat.com/ubi9/ubi-minimal:9.6
35
# Build the manager binary
46
FROM $GOLANG_BUILDER AS builder

apis/bases/dataplane.openstack.org_openstackdataplanenodesets.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ spec:
6161
cloudUserName:
6262
default: cloud-admin
6363
type: string
64+
ctlplaneBond:
65+
properties:
66+
bondInterfaces:
67+
items:
68+
type: string
69+
minItems: 2
70+
type: array
71+
bondMode:
72+
default: active-backup
73+
type: string
74+
bondOptions:
75+
additionalProperties:
76+
type: string
77+
type: object
78+
required:
79+
- bondInterfaces
80+
type: object
6481
ctlplaneInterface:
6582
type: string
6683
deploymentSSHSecret:

apis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/openstack-k8s-operators/neutron-operator/api v0.6.1-0.20251103113532-c4a3d7916c65
2424
github.com/openstack-k8s-operators/nova-operator/api v0.6.1-0.20251103074111-0ec969e832ad
2525
github.com/openstack-k8s-operators/octavia-operator/api v0.6.1-0.20251112213455-aa03725e0f2b
26-
github.com/openstack-k8s-operators/openstack-baremetal-operator/api v0.6.1-0.20251112191014-b4c8cca9b6fc
26+
github.com/openstack-k8s-operators/openstack-baremetal-operator/api v0.6.1-0.20251113131806-5029e383a1e5
2727
github.com/openstack-k8s-operators/ovn-operator/api v0.6.1-0.20251111072459-1ceb14e1eab0
2828
github.com/openstack-k8s-operators/placement-operator/api v0.6.1-0.20251112201103-7583889cdb89
2929
github.com/openstack-k8s-operators/swift-operator/api v0.6.1-0.20251112213455-cc9071dc6aa0

apis/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ github.com/openstack-k8s-operators/nova-operator/api v0.6.1-0.20251103074111-0ec
148148
github.com/openstack-k8s-operators/nova-operator/api v0.6.1-0.20251103074111-0ec969e832ad/go.mod h1:4Bp2ias9AUXvPBOSOlEkuuegDkAcJEYB9K1UtmX4q8c=
149149
github.com/openstack-k8s-operators/octavia-operator/api v0.6.1-0.20251112213455-aa03725e0f2b h1:j4S0Ir3U5SeBK1m5bdkHa27X8inJkWogDQ20bgOlHiE=
150150
github.com/openstack-k8s-operators/octavia-operator/api v0.6.1-0.20251112213455-aa03725e0f2b/go.mod h1:itmNEGzWRK3aQEIfmGENWEtDRVOporqOqqzX+JOwGJg=
151-
github.com/openstack-k8s-operators/openstack-baremetal-operator/api v0.6.1-0.20251112191014-b4c8cca9b6fc h1:YLyj7+T5JDW9CSxc0GFWGxNHurLkwqLxZoUi/hv9hVg=
152-
github.com/openstack-k8s-operators/openstack-baremetal-operator/api v0.6.1-0.20251112191014-b4c8cca9b6fc/go.mod h1:xCA4HMEiU8jvL+Y2/5V+z7sNpszjnCPNWy+JaCOmsBc=
151+
github.com/openstack-k8s-operators/openstack-baremetal-operator/api v0.6.1-0.20251113131806-5029e383a1e5 h1:1q54oiyxF7z11M9Fsf9JFv3NWbTjWQzuPBYT8Mp5Ry0=
152+
github.com/openstack-k8s-operators/openstack-baremetal-operator/api v0.6.1-0.20251113131806-5029e383a1e5/go.mod h1:xCA4HMEiU8jvL+Y2/5V+z7sNpszjnCPNWy+JaCOmsBc=
153153
github.com/openstack-k8s-operators/ovn-operator/api v0.6.1-0.20251111072459-1ceb14e1eab0 h1:r+s+puu/50Ca0Hw7BFQE25GNu/pI/bDClX8vZx0SVTQ=
154154
github.com/openstack-k8s-operators/ovn-operator/api v0.6.1-0.20251111072459-1ceb14e1eab0/go.mod h1:7QF+qByM+6rC2iy7VfeaZmLPCau1jKPcXQAEahMoz1Y=
155155
github.com/openstack-k8s-operators/placement-operator/api v0.6.1-0.20251112201103-7583889cdb89 h1:5Rzc3Y3oizFVY6p+cRBZ/dPiKQ/y5xkwIaCX/s5tsP0=

bindata/crds/baremetal.openstack.org_openstackbaremetalsets.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,28 @@ spec:
146146
default: cloud-admin
147147
description: CloudUser to be configured for remote access
148148
type: string
149+
ctlplaneBond:
150+
description: CtlplaneBond - Bonding configuration for ctlplane network
151+
properties:
152+
bondInterfaces:
153+
description: BondInterfaces - List of physical interfaces to bond
154+
items:
155+
type: string
156+
minItems: 2
157+
type: array
158+
bondMode:
159+
default: active-backup
160+
description: BondMode - Bonding mode (e.g., active-backup, 802.3ad)
161+
type: string
162+
bondOptions:
163+
additionalProperties:
164+
type: string
165+
description: BondOptions - Additional bonding options as key-value
166+
pairs
167+
type: object
168+
required:
169+
- bondInterfaces
170+
type: object
149171
ctlplaneGateway:
150172
description: 'CtlplaneGateway - IP of gateway for ctrlplane network
151173
(TODO: acquire this is another manner?)'

bindata/crds/crds.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17076,6 +17076,23 @@ spec:
1707617076
cloudUserName:
1707717077
default: cloud-admin
1707817078
type: string
17079+
ctlplaneBond:
17080+
properties:
17081+
bondInterfaces:
17082+
items:
17083+
type: string
17084+
minItems: 2
17085+
type: array
17086+
bondMode:
17087+
default: active-backup
17088+
type: string
17089+
bondOptions:
17090+
additionalProperties:
17091+
type: string
17092+
type: object
17093+
required:
17094+
- bondInterfaces
17095+
type: object
1707917096
ctlplaneInterface:
1708017097
type: string
1708117098
deploymentSSHSecret:

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ spec:
6161
cloudUserName:
6262
default: cloud-admin
6363
type: string
64+
ctlplaneBond:
65+
properties:
66+
bondInterfaces:
67+
items:
68+
type: string
69+
minItems: 2
70+
type: array
71+
bondMode:
72+
default: active-backup
73+
type: string
74+
bondOptions:
75+
additionalProperties:
76+
type: string
77+
type: object
78+
required:
79+
- bondInterfaces
80+
type: object
6481
ctlplaneInterface:
6582
type: string
6683
deploymentSSHSecret:

config/operator/manager_operator_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
- name: RELATED_IMAGE_OCTAVIA_OPERATOR_MANAGER_IMAGE_URL
4343
value: quay.io/openstack-k8s-operators/octavia-operator@sha256:442c269d79163f8da75505019c02e9f0815837aaadcaddacb8e6c12df297ca13
4444
- name: RELATED_IMAGE_OPENSTACK_BAREMETAL_OPERATOR_MANAGER_IMAGE_URL
45-
value: quay.io/openstack-k8s-operators/openstack-baremetal-operator@sha256:3f3e58058021dc15b28688a7744273d3b6467d29b085aad52895817f4721b24e
45+
value: quay.io/openstack-k8s-operators/openstack-baremetal-operator@sha256:78852f8ba332a5756c1551c126157f735279101a0fc3277ba4aa4db3478789dd
4646
- name: RELATED_IMAGE_OVN_OPERATOR_MANAGER_IMAGE_URL
4747
value: quay.io/openstack-k8s-operators/ovn-operator@sha256:5d49d4594c66eda7b151746cc6e1d3c67c0129b4503eeb043a64ae8ec2da6a1b
4848
- name: RELATED_IMAGE_PLACEMENT_OPERATOR_MANAGER_IMAGE_URL

config/samples/dataplane/swift/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ replacements:
1414
- source:
1515
kind: DataPlaneConfig
1616
name: edpm-swift-values
17-
fieldPath: data.nodeset.nodetemplate.ansible.vars.edpm_swift_disks
17+
fieldPath: data.nodeset.nodeTemplate.ansible.ansibleVars.edpm_swift_disks
1818
targets:
1919
- select:
2020
kind: OpenStackDataPlaneNodeSet
@@ -36,7 +36,7 @@ replacements:
3636
- source:
3737
kind: DataPlaneConfig
3838
name: edpm-swift-values
39-
fieldPath: data.nodeset.networkattachments
39+
fieldPath: data.nodeset.networkAttachments
4040
targets:
4141
- select:
4242
kind: OpenStackDataPlaneNodeSet

config/samples/dataplane/swift/values.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ metadata:
77
config.kubernetes.io/local-config: "true"
88
data:
99
nodeset:
10-
networkattachments:
10+
networkAttachments:
1111
- ctlplane
1212
- storage
13-
nodetemplate:
13+
nodeTemplate:
1414
ansible:
15-
vars:
15+
ansibleVars:
1616
# Swift disks defined here apply to all nodes. Node-specific disks
1717
# might be defined in the nodes: section below
1818
#
@@ -22,11 +22,11 @@ data:
2222
# zone are optional and might be used to enforce distribution of
2323
# replicas
2424
edpm_swift_disks:
25-
- device: /dev/vdb
26-
path: /srv/node/vdb
27-
weight: 4000
28-
region: 0
29-
zone: 0
25+
- device: /dev/vdb
26+
path: /srv/node/vdb
27+
weight: 4000
28+
region: 0
29+
zone: 0
3030
nodes:
3131
edpm-swift-0:
3232
ansible:
@@ -36,9 +36,9 @@ data:
3636
# node with a different disk. This node will use only vdc. It would
3737
# use vdb from parent section if not defined
3838
edpm_swift_disks:
39-
- device: /dev/vdc
40-
path: /srv/node/vdc
41-
weight: 1000
39+
- device: /dev/vdc
40+
path: /srv/node/vdc
41+
weight: 1000
4242
hostName: edpm-swift-0
4343
networks:
4444
- defaultRoute: true

0 commit comments

Comments
 (0)