diff --git a/api/v1/ytsaurus_types.go b/api/v1/ytsaurus_types.go
index 48dc556a..ed769f78 100644
--- a/api/v1/ytsaurus_types.go
+++ b/api/v1/ytsaurus_types.go
@@ -99,10 +99,11 @@ type LocationSpec struct {
type LogLevel string
const (
- LogLevelTrace LogLevel = "trace"
- LogLevelDebug LogLevel = "debug"
- LogLevelInfo LogLevel = "info"
- LogLevelError LogLevel = "error"
+ LogLevelTrace LogLevel = "trace"
+ LogLevelDebug LogLevel = "debug"
+ LogLevelInfo LogLevel = "info"
+ LogLevelWarning LogLevel = "warning"
+ LogLevelError LogLevel = "error"
)
// LogWriterType string describes types of possible log writers.
@@ -159,7 +160,7 @@ type BaseLoggerSpec struct {
//+kubebuilder:default:=plain_text
//+kubebuilder:validation:Enum=plain_text;json;yson
Format LogFormat `json:"format,omitempty"`
- //+kubebuilder:validation:Enum=trace;debug;info;error
+ //+kubebuilder:validation:Enum=trace;debug;info;warning;error
//+kubebuilder:default:=info
MinLogLevel LogLevel `json:"minLogLevel,omitempty"`
//+kubebuilder:default:=none
diff --git a/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml b/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml
index 4694bc1e..e1b99826 100644
--- a/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml
+++ b/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml
@@ -804,6 +804,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -937,6 +938,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -1123,6 +1125,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
diff --git a/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml b/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml
index 9f51fd1d..bf98fbee 100644
--- a/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml
+++ b/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml
@@ -719,6 +719,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -878,6 +879,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
diff --git a/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml b/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml
index bf2095b6..445684ec 100644
--- a/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml
+++ b/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml
@@ -833,6 +833,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -996,6 +997,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -3186,6 +3188,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -3356,6 +3359,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -5551,6 +5555,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -5714,6 +5719,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -7953,6 +7959,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -8089,6 +8096,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -8267,6 +8275,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -10482,6 +10491,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -10654,6 +10664,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -12887,6 +12898,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -13050,6 +13062,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -15288,6 +15301,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -15460,6 +15474,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -17643,6 +17658,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -17806,6 +17822,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -19987,6 +20004,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -20150,6 +20168,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -22338,6 +22357,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -22512,6 +22532,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -24725,6 +24746,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -24888,6 +24910,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -27084,6 +27107,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -27256,6 +27280,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -29508,6 +29533,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -29678,6 +29704,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -31879,6 +31906,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -32059,6 +32087,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -34452,6 +34481,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -34615,6 +34645,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
diff --git a/docs/api.md b/docs/api.md
index 3c553ca6..c5ba9a90 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -33,7 +33,7 @@ _Appears in:_
| --- | --- | --- | --- |
| `name` _string_ | | | MinLength: 1
|
| `format` _[LogFormat](#logformat)_ | | plain_text | Enum: [plain_text json yson]
|
-| `minLogLevel` _[LogLevel](#loglevel)_ | | info | Enum: [trace debug info error]
|
+| `minLogLevel` _[LogLevel](#loglevel)_ | | info | Enum: [trace debug info warning error]
|
| `compression` _[LogCompression](#logcompression)_ | | none | Enum: [none gzip zstd]
|
| `useTimestampSuffix` _boolean_ | | false | |
| `rotationPolicy` _[LogRotationPolicy](#logrotationpolicy)_ | | | |
@@ -1347,7 +1347,7 @@ _Appears in:_
| --- | --- | --- | --- |
| `name` _string_ | | | MinLength: 1
|
| `format` _[LogFormat](#logformat)_ | | plain_text | Enum: [plain_text json yson]
|
-| `minLogLevel` _[LogLevel](#loglevel)_ | | info | Enum: [trace debug info error]
|
+| `minLogLevel` _[LogLevel](#loglevel)_ | | info | Enum: [trace debug info warning error]
|
| `compression` _[LogCompression](#logcompression)_ | | none | Enum: [none gzip zstd]
|
| `useTimestampSuffix` _boolean_ | | false | |
| `rotationPolicy` _[LogRotationPolicy](#logrotationpolicy)_ | | | |
@@ -1483,7 +1483,7 @@ _Appears in:_
| --- | --- | --- | --- |
| `name` _string_ | | | MinLength: 1
|
| `format` _[LogFormat](#logformat)_ | | plain_text | Enum: [plain_text json yson]
|
-| `minLogLevel` _[LogLevel](#loglevel)_ | | info | Enum: [trace debug info error]
|
+| `minLogLevel` _[LogLevel](#loglevel)_ | | info | Enum: [trace debug info warning error]
|
| `compression` _[LogCompression](#logcompression)_ | | none | Enum: [none gzip zstd]
|
| `useTimestampSuffix` _boolean_ | | false | |
| `rotationPolicy` _[LogRotationPolicy](#logrotationpolicy)_ | | | |
diff --git a/ytop-chart/templates/remoteexecnodes-crd.yaml b/ytop-chart/templates/remoteexecnodes-crd.yaml
index a364f0e0..c69d6f9c 100644
--- a/ytop-chart/templates/remoteexecnodes-crd.yaml
+++ b/ytop-chart/templates/remoteexecnodes-crd.yaml
@@ -788,6 +788,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -921,6 +922,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -1107,6 +1109,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
diff --git a/ytop-chart/templates/remoteytsaurus-crd.yaml b/ytop-chart/templates/remoteytsaurus-crd.yaml
index 86d4228b..0a892141 100644
--- a/ytop-chart/templates/remoteytsaurus-crd.yaml
+++ b/ytop-chart/templates/remoteytsaurus-crd.yaml
@@ -703,6 +703,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -862,6 +863,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
diff --git a/ytop-chart/templates/ytsaurus-crd.yaml b/ytop-chart/templates/ytsaurus-crd.yaml
index 33954a89..e7eac2ca 100644
--- a/ytop-chart/templates/ytsaurus-crd.yaml
+++ b/ytop-chart/templates/ytsaurus-crd.yaml
@@ -843,6 +843,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -1005,6 +1006,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -3174,6 +3176,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -3344,6 +3347,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -5529,6 +5533,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -5691,6 +5696,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -7909,6 +7915,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -8045,6 +8052,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -8223,6 +8231,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -10425,6 +10434,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -10597,6 +10607,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -12820,6 +12831,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -12982,6 +12994,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -15202,6 +15215,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -15373,6 +15387,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -17538,6 +17553,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -17700,6 +17716,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -19863,6 +19880,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -20025,6 +20043,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -22192,6 +22211,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -22366,6 +22386,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -24569,6 +24590,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -24731,6 +24753,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -26906,6 +26929,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -27078,6 +27102,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -29317,6 +29342,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -29487,6 +29513,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -31675,6 +31702,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -31855,6 +31883,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -34236,6 +34265,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name:
@@ -34398,6 +34428,7 @@ spec:
- trace
- debug
- info
+ - warning
- error
type: string
name: