Scopes: Change redirectUrl to redirectPath (#112783)
* Scopes: change redirectUrl to redirectPath * Update e2e helpers
This commit is contained in:
@@ -154,8 +154,8 @@ type ScopeNodeSpec struct {
|
||||
LinkID string `json:"linkId,omitempty"` // the k8s name
|
||||
// ?? should this be a slice of links
|
||||
|
||||
// Redirect to a specific URL when this node is selected.
|
||||
RedirectUrl string `json:"redirectUrl,omitempty"`
|
||||
// Redirect to a specific path when this node is selected.
|
||||
RedirectPath string `json:"redirectPath,omitempty"`
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
@@ -866,9 +866,9 @@ func schema_pkg_apis_scope_v0alpha1_ScopeNodeSpec(ref common.ReferenceCallback)
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"redirectUrl": {
|
||||
"redirectPath": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Redirect to a specific URL when this node is selected.",
|
||||
Description: "Redirect to a specific path when this node is selected.",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user