File tree Expand file tree Collapse file tree 4 files changed +7
-11
lines changed
bundle-restricted/manifests Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ type NamespaceScopeSpec struct {
41
41
ManualManagement bool `json:"manualManagement,omitempty"`
42
42
43
43
// When CSVInjector is enabled, operator will inject the watch namespace list into operator csv.
44
- // +kubebuilder:default:={enable:true}
45
44
CSVInjector CSVInjector `json:"csvInjector,omitempty"`
46
45
}
47
46
48
47
// CSVInjector manages if operator will insert labels and WATCH_NAMESPACES in CSV automatically
49
48
type CSVInjector struct {
49
+ // +kubebuilder:default:=true
50
50
Enable bool `json:"enable"`
51
51
}
52
52
@@ -67,7 +67,6 @@ type NamespaceScope struct {
67
67
metav1.TypeMeta `json:",inline"`
68
68
metav1.ObjectMeta `json:"metadata,omitempty"`
69
69
70
- // +kubebuilder:pruning:PreserveUnknownFields
71
70
Spec NamespaceScopeSpec `json:"spec,omitempty"`
72
71
Status NamespaceScopeStatus `json:"status,omitempty"`
73
72
}
Original file line number Diff line number Diff line change @@ -34,19 +34,19 @@ spec:
34
34
metadata :
35
35
type : object
36
36
spec :
37
+ x-kubernetes-preserve-unknown-fields : true
37
38
description : NamespaceScopeSpec defines the desired state of NamespaceScope
38
39
properties :
39
40
configmapName :
40
41
description : ConfigMap name that will contain the list of namespaces
41
42
to be watched
42
43
type : string
43
44
csvInjector :
44
- default :
45
- enable : true
46
45
description : When CSVInjector is enabled, operator will inject the
47
46
watch namespace list into operator csv.
48
47
properties :
49
48
enable :
49
+ default : true
50
50
type : boolean
51
51
required :
52
52
- enable
76
76
type : string
77
77
type : array
78
78
type : object
79
- x-kubernetes-preserve-unknown-fields : true
80
79
status :
81
80
description : NamespaceScopeStatus defines the observed state of NamespaceScope
82
81
properties :
Original file line number Diff line number Diff line change @@ -34,19 +34,19 @@ spec:
34
34
metadata :
35
35
type : object
36
36
spec :
37
+ x-kubernetes-preserve-unknown-fields : true
37
38
description : NamespaceScopeSpec defines the desired state of NamespaceScope
38
39
properties :
39
40
configmapName :
40
41
description : ConfigMap name that will contain the list of namespaces
41
42
to be watched
42
43
type : string
43
44
csvInjector :
44
- default :
45
- enable : true
46
45
description : When CSVInjector is enabled, operator will inject the
47
46
watch namespace list into operator csv.
48
47
properties :
49
48
enable :
49
+ default : true
50
50
type : boolean
51
51
required :
52
52
- enable
76
76
type : string
77
77
type : array
78
78
type : object
79
- x-kubernetes-preserve-unknown-fields : true
80
79
status :
81
80
description : NamespaceScopeStatus defines the observed state of NamespaceScope
82
81
properties :
Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ spec:
32
32
metadata :
33
33
type : object
34
34
spec :
35
+ x-kubernetes-preserve-unknown-fields : true
35
36
description : NamespaceScopeSpec defines the desired state of NamespaceScope
36
37
properties :
37
38
configmapName :
38
39
description : ConfigMap name that will contain the list of namespaces to be watched
39
40
type : string
40
41
csvInjector :
41
- default :
42
- enable : true
43
42
description : When CSVInjector is enabled, operator will inject the watch namespace list into operator csv.
44
43
properties :
45
44
enable :
45
+ default : true
46
46
type : boolean
47
47
required :
48
48
- enable
66
66
type : string
67
67
type : array
68
68
type : object
69
- x-kubernetes-preserve-unknown-fields : true
70
69
status :
71
70
description : NamespaceScopeStatus defines the observed state of NamespaceScope
72
71
properties :
You can’t perform that action at this time.
0 commit comments