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 2cbc4a9 commit 46d6d61Copy full SHA for 46d6d61
1 file changed
src/resources.rs
@@ -9,9 +9,9 @@ use kube::{
9
use schemars::JsonSchema;
10
use serde::{Deserialize, Serialize};
11
12
-static FORCE_DELETE_ANNOTATION: &str = "sinker.influxdata.io/force-delete";
13
-static DISABLE_TARGET_DELETION_ANNOTATION: &str = "sinker.influxdata.io/disable-target-deletion";
14
-pub static ALLOWED_NAMESPACES_ANNOTATION: &str = "sinker.influxdata.io/allowed-namespaces";
+pub const FORCE_DELETE_ANNOTATION: &str = "sinker.influxdata.io/force-delete";
+pub const DISABLE_TARGET_DELETION_ANNOTATION: &str = "sinker.influxdata.io/disable-target-deletion";
+pub const ALLOWED_NAMESPACES_ANNOTATION: &str = "sinker.influxdata.io/allowed-namespaces";
15
16
impl ResourceSync {
17
fn get_boolean_annotation_val(&self, annotation: &str) -> bool {
0 commit comments