Skip to content

Commit af3665d

Browse files
committed
chore: Bump stackable-operator to 0.107.1
1 parent 1bfbc6e commit af3665d

8 files changed

Lines changed: 65 additions & 57 deletions

File tree

Cargo.lock

Lines changed: 11 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: 27 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/stackabletech/druid-operator"
1111

1212
[workspace.dependencies]
1313
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.8.0" }
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.106.2", features = ["telemetry", "versioned", "webhook"] }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.107.1", features = ["crds", "webhook"] }
1515

1616
anyhow = "1.0"
1717
built = { version = "0.8", features = ["chrono", "git2"] }

crate-hashes.json

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

extra/crds.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,16 @@ spec:
987987
description: This field contains OIDC-specific configuration. It is only required in case OIDC is used.
988988
nullable: true
989989
properties:
990+
clientAuthenticationMethod:
991+
default: client_secret_basic
992+
description: 'The client authentication method used when communicating with the token endpoint. Defaults to `client_secret_basic`. The required contents of `clientCredentialsSecret` depend on the chosen method: secret-based methods (`client_secret_basic`, `client_secret_post`, `client_secret_jwt`) expect a client secret, while `private_key_jwt` expects a private key.'
993+
enum:
994+
- client_secret_basic
995+
- client_secret_post
996+
- client_secret_jwt
997+
- private_key_jwt
998+
- none
999+
type: string
9901000
clientCredentialsSecret:
9911001
description: |-
9921002
A reference to the OIDC client credentials secret. The secret contains

rust/operator-binary/src/authentication/oidc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ mod tests {
190190
client_credentials_secret_ref: "nifi-keycloak-client".to_owned(),
191191
extra_scopes: vec![],
192192
product_specific_fields: (),
193+
client_authentication_method: Default::default(),
193194
};
194195

195196
add_authenticator_config(&provider, &oidc, &mut properties)

rust/operator-binary/src/crd/mod.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,10 +1093,13 @@ pub struct DatabaseConnectionSpec {
10931093
pub credentials_secret: Option<String>,
10941094
}
10951095

1096-
#[derive(Clone, Debug, Deserialize, Eq, JsonSchema, PartialEq, Serialize, Display, EnumString)]
1096+
#[derive(
1097+
Clone, Debug, Default, Deserialize, Eq, JsonSchema, PartialEq, Serialize, Display, EnumString,
1098+
)]
10971099
pub enum DbType {
10981100
#[serde(rename = "derby")]
10991101
#[strum(serialize = "derby")]
1102+
#[default]
11001103
Derby,
11011104

11021105
#[serde(rename = "mysql")]
@@ -1108,12 +1111,6 @@ pub enum DbType {
11081111
Postgresql,
11091112
}
11101113

1111-
impl Default for DbType {
1112-
fn default() -> Self {
1113-
Self::Derby
1114-
}
1115-
}
1116-
11171114
#[derive(Clone, Debug, Deserialize, JsonSchema, PartialEq, Eq, Serialize, Display)]
11181115
#[serde(rename_all = "camelCase")]
11191116
pub enum DeepStorageSpec {

rust/operator-binary/src/extensions.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ mod tests {
119119
oidc: oidc::v1alpha1::ClientAuthenticationOptions {
120120
client_credentials_secret_ref: "".to_string(),
121121
extra_scopes: vec![],
122-
product_specific_fields: ()
122+
product_specific_fields: (),
123+
client_authentication_method: Default::default()
123124
}
124125
}]
125126
})

0 commit comments

Comments
 (0)