2026/11/09 15:21:12 [ERROR] Failed to read namespace file: open /var/run/secrets/kubernetes.io/serviceaccount/namespace: no such file or directory
Usage of /usr/bin/operator:
-aws-sg-setup
Setup Security Groups in AWS (should only be used on OpenShift).
-bootstrap-crds
Install CRDs and exit
-enable-leader-election
Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager. (default true)
-kubeconfig string
Paths to a kubeconfig. Only required if out-of-cluster.
-log-verbosity int
Verbosity level of logs (-2=Error, -1=Warn, 0=Info, >0=Debug)
-manage-crds
Operator should manage the projectcalico.org and operator.tigera.io CRDs.
-pre-delete
Run helm pre-deletion hook logic, then exit.
-print-calico-crds string
Print the Calico CRDs the operator has bundled then exit. Possible values: all, <crd prefix>.
If a value other than 'all' is specified, the first CRD with a prefix of the specified value will be printed.
-print-enterprise-crds string
Print the Enterprise CRDs the operator has bundled then exit. Possible values: all, <crd prefix>.
If a value other than 'all' is specified, the first CRD with a prefix of the specified value will be printed.
-print-images string
Print the default images the operator could deploy and exit. Possible values: list
-url-only-kubeconfig string
Path to a kubeconfig, but only for the apiserver url.
-variant string
Default product variant to assume during boostrapping. (default "Calico")
-version
Show version information
-zap-devel
Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error)
-zap-encoder value
Zap log encoding (one of 'json' or 'console')
-zap-log-level value
Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic'or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
-zap-stacktrace-level value
Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').
-zap-time-encoding value
Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.
Options (18)
| Option | Description | Source |
|---|
-aws-sg-setup | Setup Security Groups in AWS (should only be used on OpenShift). | help |
-bootstrap-crds | Install CRDs and exit | help |
-enable-leader-election | Enable leader election for controller manager. | help |
-kubeconfig string | Paths to a kubeconfig. | help |
-log-verbosity int | Verbosity level of logs (-2=Error, -1=Warn, 0=Info, >0=Debug) | help |
-manage-crds | Operator should manage the projectcalico.org and operator.tigera.io CRDs. | help |
-pre-delete | Run helm pre-deletion hook logic, then exit. | help |
-print-calico-crds string | Print the Calico CRDs the operator has bundled then exit. | help |
-print-enterprise-crds string | Print the Enterprise CRDs the operator has bundled then exit. | help |
-print-images string | Print the default images the operator could deploy and exit. | help |
-url-only-kubeconfig string | Path to a kubeconfig, but only for the apiserver url. | help |
-variant string | Default product variant to assume during boostrapping. | help |
-version | Show version information | help |
-zap-devel | Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). | help |
-zap-encoder value | Zap log encoding (one of 'json' or 'console') | help |
-zap-log-level value | Zap Level to configure the verbosity of logging. | help |
-zap-stacktrace-level value | Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic'). | help |
-zap-time-encoding value | Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.