@@ -12,7 +12,6 @@ use crate::attributed_string_type;
1212attributed_string_type ! {
1313 ProductName ,
1414 "The name of a product" ,
15- // REVIEW: example is operator-specific — parameterise when moving to operator-rs
1615 "airflow" ,
1716 // A suffix is added to produce a label value. An according compile-time check ensures that
1817 // max_length cannot be set higher.
@@ -31,13 +30,10 @@ attributed_string_type! {
3130attributed_string_type ! {
3231 ClusterName ,
3332 "The name of a cluster/stacklet" ,
34- // REVIEW: example is operator-specific — parameterise when moving to operator-rs
3533 "my-airflow-cluster" ,
3634 // Suffixes are added to produce resource names. According compile-time checks ensure that
3735 // max_length cannot be set higher. Reduced from opensearch's 24 to 22 because airflow's
3836 // longest role name ("dagprocessor") is 12 chars vs opensearch's 10.
39- // REVIEW: max_length is operator-specific (depends on longest RoleName) — parameterise
40- // when moving to operator-rs
4137 ( max_length = 22 ) ,
4238 is_rfc_1035_label_name,
4339 is_valid_label_value
@@ -46,15 +42,13 @@ attributed_string_type! {
4642attributed_string_type ! {
4743 ControllerName ,
4844 "The name of a controller in an operator" ,
49- // REVIEW: example is operator-specific — parameterise when moving to operator-rs
5045 "airflowcluster" ,
5146 is_valid_label_value
5247}
5348
5449attributed_string_type ! {
5550 OperatorName ,
5651 "The name of an operator" ,
57- // REVIEW: example is operator-specific — parameterise when moving to operator-rs
5852 "airflow.stackable.tech" ,
5953 is_valid_label_value
6054}
@@ -66,8 +60,6 @@ attributed_string_type! {
6660 // The role-group name is used to produce resource names. To make sure that all resource names
6761 // are valid, max_length is restricted. Compile-time checks ensure that max_length cannot be
6862 // set higher if not other names like the RoleName are set lower accordingly.
69- // REVIEW: max_length is operator-specific (depends on ClusterName and RoleName budgets) —
70- // parameterise when moving to operator-rs
7163 ( max_length = 16 ) ,
7264 is_rfc_1123_label_name,
7365 is_valid_label_value
@@ -76,13 +68,10 @@ attributed_string_type! {
7668attributed_string_type ! {
7769 RoleName ,
7870 "The name of a role name" ,
79- // REVIEW: example is operator-specific — parameterise when moving to operator-rs
8071 "webserver" ,
8172 // The role name is used to produce resource names. To make sure that all resource names are
8273 // valid, max_length is restricted. Compile-time checks ensure that max_length cannot be set
8374 // higher if not other names like the RoleGroupName are set lower accordingly.
84- // REVIEW: max_length is operator-specific (airflow needs 12 for "dagprocessor", opensearch
85- // uses 10) — parameterise when moving to operator-rs
8675 ( max_length = 12 ) ,
8776 is_rfc_1123_label_name,
8877 is_valid_label_value
0 commit comments