Skip to content

Commit b575899

Browse files
chore: Run pre-commit
1 parent dc3c371 commit b575899

4 files changed

Lines changed: 15 additions & 8 deletions

File tree

deploy/helm/opensearch-operator/crds/crds.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ spec:
184184
nullable: true
185185
type: string
186186
listenerClass:
187-
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose the HTTP communication.
187+
description: |-
188+
This field controls which
189+
[ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html)
190+
is used to expose the HTTP communication.
188191
maxLength: 253
189192
minLength: 1
190193
nullable: true
@@ -529,7 +532,10 @@ spec:
529532
nullable: true
530533
type: string
531534
listenerClass:
532-
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose the HTTP communication.
535+
description: |-
536+
This field controls which
537+
[ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html)
538+
is used to expose the HTTP communication.
533539
maxLength: 253
534540
minLength: 1
535541
nullable: true

rust/operator-binary/src/controller/build/product_logging/vector-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# A downside of these test cases is that they compare the whole event and that the message can
44
# contain source code positions in vector.yaml, e.g. "function call error for \"parse_timestamp\" at (584:643)". Please adapt the tests if you change VRL code in vector.yaml.
5-
5+
---
66
tests:
77
- name: Test opensearch_server log entry without stacktrace
88
inputs:
@@ -42,7 +42,7 @@ tests:
4242
log_fields:
4343
file: /stackable/log/opensearch/opensearch_server.json
4444
message: |
45-
{"type": "server", "timestamp": "2025-10-01T12:47:28,363Z", "level": "INFO", "component": "o.o.c.c.JoinHelper", "cluster.name": "opensearch", "node.name": "opensearch-nodes-cluster-manager-0", "message": "failed to join {opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true} with JoinRequest{sourceNode={opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true}, minimumTerm=0, optionalJoin=Optional[Join{term=1, lastAcceptedTerm=0, lastAcceptedVersion=0, sourceNode={opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true}, targetNode={opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true}}]}",
45+
{"type": "server", "timestamp": "2025-10-01T12:47:28,363Z", "level": "INFO", "component": "o.o.c.c.JoinHelper", "cluster.name": "opensearch", "node.name": "opensearch-nodes-cluster-manager-0", "message": "failed to join {opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true} with JoinRequest{sourceNode={opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true}, minimumTerm=0, optionalJoin=Optional[Join{term=1, lastAcceptedTerm=0, lastAcceptedVersion=0, sourceNode={opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true}, targetNode={opensearch-nodes-cluster-manager-0}{sk-r0P_TTYuPqaamTFbjKg}{fIRSMbQYSe2nKQZ_sPn4kg}{10.244.0.20}{10.244.0.20:9300}{m}{shard_indexing_pressure_enabled=true}}]}",
4646
"stacktrace": ["org.opensearch.transport.RemoteTransportException: [opensearch-nodes-cluster-manager-0][10.244.0.20:9300][internal:cluster/coordination/join]",
4747
"Caused by: org.opensearch.cluster.coordination.CoordinationStateRejectedException: became follower",
4848
"at org.opensearch.cluster.coordination.JoinHelper$$CandidateJoinAccumulator.lambda$$close$$3(JoinHelper.java:648) ~[opensearch-3.1.0.jar:3.1.0]",

rust/operator-binary/src/controller/build/product_logging/vector.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
data_dir: /stackable/vector/var
23

34
log_schema:

rust/operator-binary/src/crd/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ pub mod versioned {
6161
))]
6262
#[serde(rename_all = "camelCase")]
6363
pub struct OpenSearchClusterSpec {
64-
// no doc - docs in ProductImage struct.
64+
// no doc - docs in ProductImage struct
6565
pub image: ProductImage,
6666

6767
/// Configuration that applies to all roles and role groups
6868
#[serde(default)]
6969
pub cluster_config: v1alpha1::OpenSearchClusterConfig,
7070

71-
// no doc - docs in ClusterOperation struct.
71+
// no doc - docs in ClusterOperation struct
7272
#[serde(default)]
7373
pub cluster_operation: ClusterOperation,
7474

75-
// no doc - docs in Role struct.
75+
// no doc - docs in Role struct
7676
pub nodes:
7777
Role<OpenSearchConfigFragment, GenericRoleConfig, GenericProductSpecificCommonConfig>,
7878
}
@@ -158,7 +158,7 @@ pub mod versioned {
158158
#[fragment_attrs(serde(default))]
159159
pub listener_class: ListenerClassName,
160160

161-
/// Logging configuration
161+
// no doc - docs in Logging struct
162162
#[fragment_attrs(serde(default))]
163163
pub logging: Logging<Container>,
164164

0 commit comments

Comments
 (0)