Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
---|---|---|
Whether the operator should check that the CRD is properly deployed and that the associated Environment variable: |
boolean |
|
Whether the extension should automatically generate the CRD based on Environment variable: |
boolean |
|
Whether the extension should automatically apply updated CRDs when they change. When running on DEV mode, the CRD changes will always be applied automatically. Environment variable: |
boolean |
|
Comma-separated list of which CRD versions should be generated. Environment variable: |
list of string |
|
The directory where the CRDs will be generated, defaults to the Environment variable: |
string |
|
Whether the extension should generate all CRDs even if some are not tied to a Reconciler. Environment variable: |
boolean |
|
Whether the CRDs should be generated in parallel. Please note that this feature is experimental and it may lead to unexpected results. Environment variable: |
boolean |
|
A comma-separated list of fully-qualified class names implementing custom resources to exclude from the CRD generation process. Environment variable: |
list of string |
|
A comma-separated list of paths where external CRDs that need to be referenced for non-generated custom resources. Typical use cases where this might be needed include when custom resource implementations are located in a different module than the controller implementation or when the CRDs are not generated at all (e.g. in integration cases where your operator needs to deal with 3rd party custom resources). Paths can be either absolute or relative, in which case they will be resolved from the current module root directory. Environment variable: |
list of string |
|
Whether controllers should only process events if the associated resource generation has increased since last reconciliation, otherwise will process all events. Sets the default value for all controllers. Environment variable: |
boolean |
|
Whether Role-Based Access Control (RBAC) resources generated by the Kubernetes extension should be augmented by this extension. Environment variable: |
boolean |
|
Whether the operator should be automatically started or not. Mostly useful for testing scenarios. Environment variable: |
boolean |
|
Whether the injected Kubernetes client should be stopped when the operator is stopped. Environment variable: |
boolean |
|
Whether the operator should stop if an informer error (such as one caused by missing / improper RBACs) occurs during startup. Environment variable: |
boolean |
|
Whether to fail or emit a debug-level (warning-level when misalignment is at the minor or above version level) log when the extension detects that there are misaligned versions. The following versions are checked for alignment:
Environment variable: |
boolean |
|
The list of profile names for which leader election should be activated. This is mostly useful for testing scenarios where leader election behavior might lead to issues. Environment variable: |
list of string |
|
The optional Server-Side Apply (SSA) related configuration. Environment variable: |
boolean |
|
An optional list of comma-separated watched namespace names that will be used to generate manifests at build time if controllers do NOT specify a value individually. See Environment variable: |
list of string |
|
Can be used to disable helm chart generation. Environment variable: |
boolean |
|
The max number of concurrent dispatches of reconciliation requests to controllers. Environment variable: |
int |
|
Amount of seconds the SDK waits for reconciliation threads to terminate before shutting down. Environment variable: |
int |
|
An optional list of comma-separated namespace names all controllers will watch if they do not specify their own list. If a controller specifies its own list either via the If this property is left empty then controllers will watch all namespaces by default (which is equivalent to setting this property to Environment variable: |
list of string |
|
The max number of concurrent workflow processing requests. Environment variable: |
int |
|
How long the operator will wait for informers to finish synchronizing their caches on startup before timing out. Environment variable: |
|
|
Whether the controller should only process events if the associated resource generation has increased since last reconciliation, otherwise will process all events. Environment variable: |
boolean |
|
An optional list of comma-separated watched namespace names that will be used to generate manifests at build time. Note that this is provided as a means to quickly deploy a specific controller to test it by applying the generated manifests to the target cluster. If empty, no manifests will be generated. The namespace in which the controller will be deployed will be the currently configured namespace as specified by your As this functionality cannot handle namespaces that are not know until runtime (because the generation happens during build time), we recommend that you use a different mechanism such as OLM or Helm charts to deploy your operator in production. This replaces the previous Environment variable: |
list of string |
|
Indicates whether the primary resource for the associated controller is unowned, meaning that another controller is the principal controller handling resources of this type. By default, controllers are assumed to own their primary resource but there are cases where this might not be the case, for example, when extra processing of a given resource type is required even though another controller already handles reconciliations of resources of that type. Set this property to Environment variable: |
boolean |
|
An optional list of comma-separated namespace names the controller should watch. If this property is left empty then the controller will watch all namespaces. The value can be set to "JOSDK_WATCH_CURRENT" to watch the current (default) namespace from kube config. Constant(s) can be found in at `io.javaoperatorsdk.operator.api.reconciler.Constants`". Environment variable: |
list of string |
|
The optional name of the finalizer for the controller. If none is provided, one will be automatically generated. Environment variable: |
string |
|
How many times an operation should be retried before giving up Environment variable: |
int |
|
The initial interval that the controller waits for before attempting the first retry Environment variable: |
long |
|
The value by which the initial interval is multiplied by for each retry Environment variable: |
double |
|
The maximum interval that the controller will wait for before attempting a retry, regardless of all other configuration Environment variable: |
long |
|
An optional list of comma-separated label selectors that Custom Resources must match to trigger the controller. See … for more details on selectors. Environment variable: |
string |
|
An optional Environment variable: |
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|