pub struct KanidmIngress {
pub annotations: Option<BTreeMap<String, String>>,
pub ingress_class_name: Option<String>,
pub tls_secret_name: Option<String>,
pub extra_tls_hosts: Option<BTreeSet<String>>,
}Fields§
§annotations: Option<BTreeMap<String, String>>Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
ingress_class_name: Option<String>ingressClassName is the name of an IngressClass cluster resource. Ingress controller
implementations use this field to know whether they should be serving this Ingress resource,
by a transitive connection (controller -> IngressClass -> Ingress resource). Although the
kubernetes.io/ingress.class annotation (simple constant name) was never formally defined,
it was widely supported by Ingress controllers to create a direct binding between Ingress
controller and Ingress resources. Newly created Ingress resources should prefer using the
field. However, even though the annotation is officially deprecated, for backwards
compatibility reasons, ingress controllers should still honor that annotation if present.
tls_secret_name: Option<String>Defines the name of the secret that contains the TLS private key and certificate for the
server. If not defined, the default will be the Kanidm name appended with -tls.
extra_tls_hosts: Option<BTreeSet<String>>Additional Subject Alternative Names (SANs) to include in the TLS certificate. The main domain from the Kanidm spec is automatically included. This does not add additional hosts to the ingress resource, only certificate SANs.
Trait Implementations§
Source§impl Clone for KanidmIngress
impl Clone for KanidmIngress
Source§fn clone(&self) -> KanidmIngress
fn clone(&self) -> KanidmIngress
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KanidmIngress
impl Debug for KanidmIngress
Source§impl Default for KanidmIngress
impl Default for KanidmIngress
Source§fn default() -> KanidmIngress
fn default() -> KanidmIngress
Source§impl<'de> Deserialize<'de> for KanidmIngress
impl<'de> Deserialize<'de> for KanidmIngress
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 KanidmIngress
impl JsonSchema for KanidmIngress
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 moreAuto Trait Implementations§
impl Freeze for KanidmIngress
impl RefUnwindSafe for KanidmIngress
impl Send for KanidmIngress
impl Sync for KanidmIngress
impl Unpin for KanidmIngress
impl UnsafeUnpin for KanidmIngress
impl UnwindSafe for KanidmIngress
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> 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