You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apis/flowcollector/v1beta1/flowcollector_types.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ type FlowCollectorSpec struct {
49
49
50
50
// Namespace where NetObserv pods are deployed.
51
51
// +kubebuilder:default:=netobserv
52
+
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Namespace is immutable. If you need to change it, delete and recreate the resource."
Copy file name to clipboardExpand all lines: apis/flowcollector/v1beta2/flowcollector_types.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ type FlowCollectorSpec struct {
49
49
50
50
// Namespace where NetObserv pods are deployed.
51
51
// +kubebuilder:default:=netobserv
52
+
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Namespace is immutable. If you need to change it, delete and recreate the resource."
0 commit comments