Setup
- Rancher version: 2.12.2
- Rancher UI Extensions:
- Browser type & version: firefox
Describe the bug
We found an issue in Rancher UI when editing an existing Ingress resource.
The Ingress itself is valid and can be edited/saved successfully in YAML mode.
However, in the Rancher form-based editor, the backend Service port is not correctly rendered when the Ingress uses:
spec.rules[].http.paths[].backend.service.port.name
As a result, the port field appears empty in the form UI, and the Save button is disabled or the form cannot be saved normally.
This looks like a UI/form rendering issue rather than a Kubernetes API issue.
To Reproduce
-
Create or apply an Ingress resource with backend.service.port.name, for example:
port:
name: http
-
Open the Ingress in Rancher UI.
-
Switch to the form-based edit page.
-
Observe that the backend service port field is not properly populated/rendered.
-
Try to save the form.
Result
- The backend service port field is blank or not correctly populated in the form editor.
- The form cannot be saved correctly, or the Save button is disabled.
- YAML mode can still save the same resource successfully.
Expected Result
Rancher UI should correctly render and allow editing of Ingress resources using:
backend.service.port.name
The form editor should treat service port name and service port number as equally valid backend definitions.
Screenshots
Additional context
Setup
Describe the bug
We found an issue in Rancher UI when editing an existing Ingress resource.
The Ingress itself is valid and can be edited/saved successfully in YAML mode.
However, in the Rancher form-based editor, the backend Service port is not correctly rendered when the Ingress uses:
spec.rules[].http.paths[].backend.service.port.name
As a result, the port field appears empty in the form UI, and the Save button is disabled or the form cannot be saved normally.
This looks like a UI/form rendering issue rather than a Kubernetes API issue.
To Reproduce
Create or apply an Ingress resource with backend.service.port.name, for example:
port:
name: http
Open the Ingress in Rancher UI.
Switch to the form-based edit page.
Observe that the backend service port field is not properly populated/rendered.
Try to save the form.
Result
Expected Result
Rancher UI should correctly render and allow editing of Ingress resources using:
backend.service.port.name
The form editor should treat service port name and service port number as equally valid backend definitions.
Screenshots
Additional context