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: cmd/manager/main.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ var (
74
74
includedNamespacesRegexstring
75
75
webhooksOnlybool
76
76
enableHRQbool
77
+
hncNamespacestring
77
78
)
78
79
79
80
// init preloads some global vars before main() starts. Since this is the top-level module, I'm not
@@ -151,6 +152,7 @@ func parseFlags() {
151
152
flag.Var(&managedNamespaceAnnots, "managed-namespace-annotation", "A regex indicating the annotations on namespaces that are managed by HNC. These annotations may only be set via the HierarchyConfiguration object. All regexes are implictly wrapped by \"^...$\". This argument can be specified multiple times. See the user guide for more information.")
152
153
flag.BoolVar(&webhooksOnly, "webhooks-only", false, "Disables the controllers so HNC can be run in HA webhook mode")
0 commit comments