File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
pkg/api/apis/operators/v1alpha1 Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,21 @@ const (
23
23
type InstallModeType string
24
24
25
25
const (
26
- InstallModeTypeOwnNamespace InstallModeType = "OwnNamespace"
26
+ // InstallModeTypeOwnNamespace indicates that the operator can be configured
27
+ // to watch the namespace it is installed into.
28
+ InstallModeTypeOwnNamespace InstallModeType = "OwnNamespace"
29
+ // InstallModeTypeSingleNamespace indicates that the operator can be
30
+ // configured to watch a single namespace, which is configurable via
31
+ // OperatorGroups' spec.targetNamespaces field.
27
32
InstallModeTypeSingleNamespace InstallModeType = "SingleNamespace"
28
- InstallModeTypeMultiNamespace InstallModeType = "MultiNamespace"
29
- InstallModeTypeAllNamespaces InstallModeType = "AllNamespaces"
33
+ // InstallModeTypeMultiNamespace indicates that the operator can be
34
+ // configured to watch multiple namespaces via the OperatorGroup's
35
+ // spec.targetNamespaces field.
36
+ InstallModeTypeMultiNamespace InstallModeType = "MultiNamespace"
37
+ // InstallModeTypeAllNamespaces indicates that the operator can configured
38
+ // to wwatch all namespaces by setting the OperatorGroup's
39
+ // spec.targetNamespaces field to "NamespaceAll".
40
+ InstallModeTypeAllNamespaces InstallModeType = "AllNamespaces"
30
41
)
31
42
32
43
// InstallMode associates an InstallModeType with a flag representing if the CSV supports it
You can’t perform that action at this time.
0 commit comments