We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff4e092 commit 8637ecdCopy full SHA for 8637ecd
1 file changed
rust/operator-binary/src/crd/mod.rs
@@ -65,6 +65,9 @@ pub const METRICS_PORT: u16 = 9084;
65
pub const LISTENER_VOLUME_NAME: &str = "listener";
66
pub const LISTENER_VOLUME_DIR: &str = "/stackable/listener";
67
68
+// Listener defaults
69
+pub const DEFAULT_LISTENER_CLASS: &str = "cluster-internal";
70
+
71
// Certificates and trust stores
72
pub const SYSTEM_TRUST_STORE: &str = "/etc/pki/java/cacerts";
73
pub const SYSTEM_TRUST_STORE_PASSWORD: &str = "changeit";
@@ -188,7 +191,7 @@ impl Default for v1alpha1::HiveMetastoreRoleConfig {
188
191
}
189
192
190
193
fn metastore_default_listener_class() -> String {
- "cluster-internal".to_string()
194
+ DEFAULT_LISTENER_CLASS.to_owned()
195
196
197
impl HasStatusCondition for v1alpha1::HiveCluster {
0 commit comments