Skip to content

Commit bde0ad8

Browse files
committed
WIP
1 parent cc3c1d9 commit bde0ad8

22 files changed

Lines changed: 741 additions & 260 deletions

File tree

Cargo.lock

Lines changed: 27 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 120 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/crd-utils/Cargo.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

rust/krb5-provision-keytab/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository.workspace = true
99
publish = false
1010

1111
[dependencies]
12-
stackable-secret-operator-crd-utils = { path = "../crd-utils" }
12+
stackable-secret-operator-utils = { path = "../utils", features = ["crd"] }
1313
krb5.workspace = true
1414

1515
byteorder.workspace = true

rust/krb5-provision-keytab/src/active_directory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use stackable_operator::{
1414
k8s_openapi::api::core::v1::Secret,
1515
kube::{self, runtime::reflector::ObjectRef},
1616
};
17-
use stackable_secret_operator_crd_utils::SecretReference;
17+
use stackable_secret_operator_utils::crd::SecretReference;
1818

1919
use crate::credential_cache::{self, CredentialCache};
2020

rust/krb5-provision-keytab/src/credential_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use stackable_operator::{
88
runtime::reflector::ObjectRef,
99
},
1010
};
11-
use stackable_secret_operator_crd_utils::SecretReference;
11+
use stackable_secret_operator_utils::crd::SecretReference;
1212

1313
const OPERATOR_NAME: &str = "secrets.stackable.tech";
1414
const FIELD_MANAGER_SCOPE: &str = "krb5-provision-keytab";

rust/krb5-provision-keytab/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::{
77

88
use serde::{Deserialize, Serialize};
99
use snafu::{ResultExt, Snafu};
10-
use stackable_secret_operator_crd_utils::SecretReference;
10+
use stackable_secret_operator_utils::crd::SecretReference;
1111
use tokio::{io::AsyncWriteExt, process::Command};
1212

1313
#[derive(Serialize, Deserialize)]

rust/operator-binary/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publish = false
1010

1111
[dependencies]
1212
stackable-krb5-provision-keytab = { path = "../krb5-provision-keytab" }
13-
stackable-secret-operator-crd-utils = { path = "../crd-utils" }
13+
stackable-secret-operator-utils = { path = "../utils", features = ["crd"] }
1414
p12 = { path = "../p12" }
1515

1616
anyhow.workspace = true
@@ -40,7 +40,6 @@ tonic-prost.workspace = true
4040
tonic-reflection.workspace = true
4141
tracing.workspace = true
4242
uuid.workspace = true
43-
yasna.workspace = true
4443
rand.workspace = true
4544
const_format.workspace = true
4645

rust/operator-binary/src/backend/kerberos_keytab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use stackable_operator::{
1010
k8s_openapi::api::core::v1::Secret,
1111
kube::runtime::reflector::ObjectRef,
1212
};
13-
use stackable_secret_operator_crd_utils::SecretReference;
13+
use stackable_secret_operator_utils::crd::SecretReference;
1414
use tempfile::tempdir;
1515
use tokio::{
1616
fs::File,

rust/operator-binary/src/backend/tls/ca.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use stackable_operator::{
3232
},
3333
shared::time::Duration,
3434
};
35-
use stackable_secret_operator_crd_utils::{ConfigMapReference, SecretReference};
35+
use stackable_secret_operator_utils::crd::{ConfigMapReference, SecretReference};
3636
use time::OffsetDateTime;
3737
use tracing::{info, info_span, warn};
3838

0 commit comments

Comments
 (0)