pub struct KanidmRadiusServerSpec {Show 14 fields
pub kanidm_ref: KanidmRef,
pub image: Option<String>,
pub replicas: i32,
pub authorization: RadiusAuthorizationSpec,
pub clients: Vec<RadiusClientSpec>,
pub radius_tls: RadiusTlsSpec,
pub kanidm_tls: Option<KanidmTlsSpec>,
pub service: RadiusServiceSpec,
pub token_rotation: SecretRotation,
pub resources: Option<ResourceRequirements>,
pub node_selector: Option<BTreeMap<String, String>>,
pub affinity: Option<Affinity>,
pub tolerations: Option<Vec<Toleration>>,
pub topology_spread_constraints: Option<Vec<TopologySpreadConstraint>>,
}Expand description
An independently deployed Kanidm-backed RADIUS authentication endpoint.
RADIUS user credentials are managed inside Kanidm by each account, not in this resource. The operator creates one dedicated read-only service account, config Secret, Deployment and UDP Service per resource.
Fields§
§kanidm_ref: KanidmRefTarget Kanidm cluster. Cross-namespace access is subject to the referenced Kanidm namespace selector. Immutable after creation.
image: Option<String>Optional RADIUS component image override, independent from the Kanidm server image. Required if the Kanidm image uses a digest or an unknown registry. Do not inherit the server image digest.
replicas: i32Number of RADIUS replicas, at least one. Defaults to two.
Authorization groups and VLAN mapping. At least one required group must be present to avoid inadvertently permitting all Kanidm users.
clients: Vec<RadiusClientSpec>Allowed NAS clients. Never put the RADIUS shared secret in the CRD: only references to same-namespace Kubernetes Secret keys are accepted.
radius_tls: RadiusTlsSpecUser-managed EAP certificate and key. Required by upstream bootstrap.
kanidm_tls: Option<KanidmTlsSpec>Optional CA bundle for outbound Kanidm HTTPS certificate verification. Verification of TLS hostnames and certificates always remains enabled.
service: RadiusServiceSpecUDP Service endpoint; defaults to ClusterIP:1812.
token_rotation: SecretRotationPeriodic API token rotation (disabled unless explicitly enabled). When
enabled, the token is replaced after periodDays (default 90, accepted
range 1 to 365) and new tokens expire after twice that period.
resources: Option<ResourceRequirements>Resource requests and limits for the official RADIUS container.
node_selector: Option<BTreeMap<String, String>>Optional scheduling controls.
affinity: Option<Affinity>§tolerations: Option<Vec<Toleration>>§topology_spread_constraints: Option<Vec<TopologySpreadConstraint>>Trait Implementations§
Source§impl Clone for KanidmRadiusServerSpec
impl Clone for KanidmRadiusServerSpec
Source§impl Debug for KanidmRadiusServerSpec
impl Debug for KanidmRadiusServerSpec
Source§impl Default for KanidmRadiusServerSpec
impl Default for KanidmRadiusServerSpec
Source§impl<'de> Deserialize<'de> for KanidmRadiusServerSpec
impl<'de> Deserialize<'de> for KanidmRadiusServerSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for KanidmRadiusServerSpec
impl JsonSchema for KanidmRadiusServerSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for KanidmRadiusServerSpec
impl PartialEq for KanidmRadiusServerSpec
Source§impl Serialize for KanidmRadiusServerSpec
impl Serialize for KanidmRadiusServerSpec
impl StructuralPartialEq for KanidmRadiusServerSpec
Auto Trait Implementations§
impl Forget for KanidmRadiusServerSpec
impl Freeze for KanidmRadiusServerSpec
impl Move for KanidmRadiusServerSpec
impl RefUnwindSafe for KanidmRadiusServerSpec
impl Send for KanidmRadiusServerSpec
impl Sync for KanidmRadiusServerSpec
impl Unpin for KanidmRadiusServerSpec
impl UnsafeUnpin for KanidmRadiusServerSpec
impl UnwindSafe for KanidmRadiusServerSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request