@@ -3,14 +3,16 @@ use serde::{Deserialize, Serialize};
33use stackable_versioned:: versioned;
44
55#[ versioned( version( name = "v1alpha1" ) ) ]
6- #[ derive(
7- Clone , Debug , Deserialize , Eq , Hash , JsonSchema , Ord , PartialEq , PartialOrd , Serialize ,
8- ) ]
9- #[ serde( rename_all = "camelCase" ) ]
10- pub struct AuthenticationProvider {
11- /// See [ADR017: TLS authentication](DOCS_BASE_URL_PLACEHOLDER/contributor/adr/adr017-tls_authentication).
12- /// If `client_cert_secret_class` is not set, the TLS settings may also be used for client authentication.
13- /// If `client_cert_secret_class` is set, the [SecretClass](DOCS_BASE_URL_PLACEHOLDER/secret-operator/secretclass)
14- /// will be used to provision client certificates.
15- pub client_cert_secret_class : Option < String > ,
6+ pub mod versioned {
7+ #[ derive(
8+ Clone , Debug , Deserialize , Eq , Hash , JsonSchema , Ord , PartialEq , PartialOrd , Serialize ,
9+ ) ]
10+ #[ serde( rename_all = "camelCase" ) ]
11+ pub struct AuthenticationProvider {
12+ /// See [ADR017: TLS authentication](DOCS_BASE_URL_PLACEHOLDER/contributor/adr/adr017-tls_authentication).
13+ /// If `client_cert_secret_class` is not set, the TLS settings may also be used for client authentication.
14+ /// If `client_cert_secret_class` is set, the [SecretClass](DOCS_BASE_URL_PLACEHOLDER/secret-operator/secretclass)
15+ /// will be used to provision client certificates.
16+ pub client_cert_secret_class : Option < String > ,
17+ }
1618}
0 commit comments