Skip to content

Commit 92d6dc4

Browse files
committed
added comment
1 parent 8b94f6a commit 92d6dc4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • crates/stackable-operator/src/crd/git_sync

crates/stackable-operator/src/crd/git_sync/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ pub fn credentials_to_secret(input: Option<Credentials>) -> Option<String> {
9595
if let Some(Credentials::BasicAuthSecretName(credentials_secret)) = input {
9696
Some(credentials_secret)
9797
} else {
98+
// We cannot downgrade SshPrivateKeySecretName as it does not map onto
99+
// anything in v1alpha1
98100
None
99101
}
100102
}

0 commit comments

Comments
 (0)