Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 39 additions & 2 deletions api/bases/manila.openstack.org_manilaapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ spec:
spec:
description: |-
OverrideServiceSpec is a subset of the fields included in https://pkg.go.dev/k8s.io/api@v0.26.6/core/v1#ServiceSpec
Limited to Type, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy, SessionAffinityConfig,
IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
Limited to Type, Ports, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy,
SessionAffinityConfig, IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
properties:
externalName:
description: |-
Expand Down Expand Up @@ -1079,6 +1079,43 @@ spec:
type: string
type: array
x-kubernetes-list-type: atomic
ports:
description: |-
Ports overrides the Port number of existing generated Service ports,
matched by Name. Each entry changes only the Port of the base port with the
same Name; TargetPort and every other field are preserved from the base
port, so overriding the exposed port never changes backend routing. An
entry whose Name does not match any base port is rejected.

The intended use is placing several Services on a single shared
LoadBalancer IP by changing their Port values. To leave a Service's ports
untouched, omit this field entirely.
items:
description: |-
OverrideServicePort overrides the Port number of a generated Service port,
identified by Name. Only the Port can be changed: TargetPort and every other
field are preserved from the matched base port, so overriding the exposed port
never changes backend routing. This deliberately exposes a smaller surface
than the upstream corev1.ServicePort, which would allow changing TargetPort
(and other fields) and silently break the deployment connection.
properties:
name:
description: |-
Name of the base Service port to override. It must match the Name of an
existing port on the generated Service.
type: string
port:
description: Port is the new Service port number.
format: int32
maximum: 65535
minimum: 1
type: integer
required:
- name
- port
type: object
type: array
x-kubernetes-list-type: atomic
sessionAffinity:
description: |-
Supports "ClientIP" and "None". Used to maintain session affinity.
Expand Down
42 changes: 40 additions & 2 deletions api/bases/manila.openstack.org_manilas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1048,8 +1048,8 @@ spec:
spec:
description: |-
OverrideServiceSpec is a subset of the fields included in https://pkg.go.dev/k8s.io/api@v0.26.6/core/v1#ServiceSpec
Limited to Type, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy, SessionAffinityConfig,
IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
Limited to Type, Ports, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy,
SessionAffinityConfig, IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
properties:
externalName:
description: |-
Expand Down Expand Up @@ -1117,6 +1117,44 @@ spec:
type: string
type: array
x-kubernetes-list-type: atomic
ports:
description: |-
Ports overrides the Port number of existing generated Service ports,
matched by Name. Each entry changes only the Port of the base port with the
same Name; TargetPort and every other field are preserved from the base
port, so overriding the exposed port never changes backend routing. An
entry whose Name does not match any base port is rejected.

The intended use is placing several Services on a single shared
LoadBalancer IP by changing their Port values. To leave a Service's ports
untouched, omit this field entirely.
items:
description: |-
OverrideServicePort overrides the Port number of a generated Service port,
identified by Name. Only the Port can be changed: TargetPort and every other
field are preserved from the matched base port, so overriding the exposed port
never changes backend routing. This deliberately exposes a smaller surface
than the upstream corev1.ServicePort, which would allow changing TargetPort
(and other fields) and silently break the deployment connection.
properties:
name:
description: |-
Name of the base Service port to override. It must match the Name of an
existing port on the generated Service.
type: string
port:
description: Port is the new Service port
number.
format: int32
maximum: 65535
minimum: 1
type: integer
required:
- name
- port
type: object
type: array
x-kubernetes-list-type: atomic
sessionAffinity:
description: |-
Supports "ClientIP" and "None". Used to maintain session affinity.
Expand Down
6 changes: 3 additions & 3 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/openstack-k8s-operators/manila-operator/api
go 1.26.3

require (
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20261012081708-7aa3021e95e4
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20261013151427-9b94821abb9f
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20261013151427-9b94821abb9f
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20261019104913-82fa8b3c2e30
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20261023124652-eebd8803b178
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20261023124652-eebd8803b178
k8s.io/api v0.33.13
k8s.io/apimachinery v0.33.13
sigs.k8s.io/controller-runtime v0.21.0
Expand Down
12 changes: 6 additions & 6 deletions api/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ github.com/onsi/ginkgo/v2 v2.33.1 h1:62XfWJbEIjPSCSDYrsCPP/SHcmH7O0M8ne8zfqQ2iz4
github.com/onsi/ginkgo/v2 v2.33.1/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44=
github.com/onsi/gomega v1.44.0 h1:eAiGl3Pw5jz5GQdDff0BcxYpAX1JxW8xD7mFUuwNfZQ=
github.com/onsi/gomega v1.44.0/go.mod h1:e/C2HwaZ1DhvjzXXuFhcR7hY7Sh9pl7MmoWKEjzwcdA=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20261012081708-7aa3021e95e4 h1:VKjAytsekDNuFDNGEibl0mqnQ+N+xbMGSWP/nr7oREU=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20261012081708-7aa3021e95e4/go.mod h1:TrIs6lhDmo8SxnoOp+tlvVRLUyPMjhwMotBwK1Yjgf8=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20261013151427-9b94821abb9f h1:YBO4fc+f6pmxDLEiQ7Ec1Qii992uKD2DCIWdPcg+iec=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20261013151427-9b94821abb9f/go.mod h1:q0N2DU1KwZT+Iez34wwkESeHKHN5pbda8G0Gg2QRWNE=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20261013151427-9b94821abb9f h1:GJo1zzpwrTn5udionMgwRlcHswdwq7yEn74TTxn/pz8=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20261013151427-9b94821abb9f/go.mod h1:zPIkK2aNVGCxyf8Yg2iAaiCH3Wu2G/kjft+CAVs1cgQ=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20261019104913-82fa8b3c2e30 h1:M/W7y41YPX5JF/DU00R3gkpSdxAakiLos/wxTs42mv4=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20261019104913-82fa8b3c2e30/go.mod h1:nJGNsxkzWE6tqooS51hmc7Nqrwvznq0e3ZNITA6IJOY=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20261023124652-eebd8803b178 h1:yQGzRZq9/BI/VoCCWM8aQiPGlMYOUAAGK98wL2la8FA=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20261023124652-eebd8803b178/go.mod h1:q0N2DU1KwZT+Iez34wwkESeHKHN5pbda8G0Gg2QRWNE=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20261023124652-eebd8803b178 h1:TXCkgfuI8gpDZoAGU4fCR/IEcYKc8gal+duLc+WzzSk=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20261023124652-eebd8803b178/go.mod h1:zPIkK2aNVGCxyf8Yg2iAaiCH3Wu2G/kjft+CAVs1cgQ=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
41 changes: 39 additions & 2 deletions config/crd/bases/manila.openstack.org_manilaapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ spec:
spec:
description: |-
OverrideServiceSpec is a subset of the fields included in https://pkg.go.dev/k8s.io/api@v0.26.6/core/v1#ServiceSpec
Limited to Type, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy, SessionAffinityConfig,
IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
Limited to Type, Ports, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy,
SessionAffinityConfig, IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
properties:
externalName:
description: |-
Expand Down Expand Up @@ -1079,6 +1079,43 @@ spec:
type: string
type: array
x-kubernetes-list-type: atomic
ports:
description: |-
Ports overrides the Port number of existing generated Service ports,
matched by Name. Each entry changes only the Port of the base port with the
same Name; TargetPort and every other field are preserved from the base
port, so overriding the exposed port never changes backend routing. An
entry whose Name does not match any base port is rejected.

The intended use is placing several Services on a single shared
LoadBalancer IP by changing their Port values. To leave a Service's ports
untouched, omit this field entirely.
items:
description: |-
OverrideServicePort overrides the Port number of a generated Service port,
identified by Name. Only the Port can be changed: TargetPort and every other
field are preserved from the matched base port, so overriding the exposed port
never changes backend routing. This deliberately exposes a smaller surface
than the upstream corev1.ServicePort, which would allow changing TargetPort
(and other fields) and silently break the deployment connection.
properties:
name:
description: |-
Name of the base Service port to override. It must match the Name of an
existing port on the generated Service.
type: string
port:
description: Port is the new Service port number.
format: int32
maximum: 65535
minimum: 1
type: integer
required:
- name
- port
type: object
type: array
x-kubernetes-list-type: atomic
sessionAffinity:
description: |-
Supports "ClientIP" and "None". Used to maintain session affinity.
Expand Down
42 changes: 40 additions & 2 deletions config/crd/bases/manila.openstack.org_manilas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1048,8 +1048,8 @@ spec:
spec:
description: |-
OverrideServiceSpec is a subset of the fields included in https://pkg.go.dev/k8s.io/api@v0.26.6/core/v1#ServiceSpec
Limited to Type, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy, SessionAffinityConfig,
IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
Limited to Type, Ports, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy,
SessionAffinityConfig, IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy
properties:
externalName:
description: |-
Expand Down Expand Up @@ -1117,6 +1117,44 @@ spec:
type: string
type: array
x-kubernetes-list-type: atomic
ports:
description: |-
Ports overrides the Port number of existing generated Service ports,
matched by Name. Each entry changes only the Port of the base port with the
same Name; TargetPort and every other field are preserved from the base
port, so overriding the exposed port never changes backend routing. An
entry whose Name does not match any base port is rejected.

The intended use is placing several Services on a single shared
LoadBalancer IP by changing their Port values. To leave a Service's ports
untouched, omit this field entirely.
items:
description: |-
OverrideServicePort overrides the Port number of a generated Service port,
identified by Name. Only the Port can be changed: TargetPort and every other
field are preserved from the matched base port, so overriding the exposed port
never changes backend routing. This deliberately exposes a smaller surface
than the upstream corev1.ServicePort, which would allow changing TargetPort
(and other fields) and silently break the deployment connection.
properties:
name:
description: |-
Name of the base Service port to override. It must match the Name of an
existing port on the generated Service.
type: string
port:
description: Port is the new Service port
number.
format: int32
maximum: 65535
minimum: 1
type: integer
required:
- name
- port
type: object
type: array
x-kubernetes-list-type: atomic
sessionAffinity:
description: |-
Supports "ClientIP" and "None". Used to maintain session affinity.
Expand Down
Loading
Loading