pub struct ConfigManagementPolicyController {
pub audit_interval_seconds: Option<i64>,
pub enabled: Option<bool>,
pub exemptable_namespaces: Option<Vec<String>>,
pub log_denies_enabled: Option<bool>,
pub monitoring: Option<ConfigManagementPolicyControllerMonitoring>,
pub mutation_enabled: Option<bool>,
pub referential_rules_enabled: Option<bool>,
pub template_library_installed: Option<bool>,
}Expand description
Configuration for Policy Controller
This type is not used in any activity, and only used as part of another schema.
Fields§
§audit_interval_seconds: Option<i64>Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
enabled: Option<bool>Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
exemptable_namespaces: Option<Vec<String>>The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
log_denies_enabled: Option<bool>Logs all denies and dry run failures.
monitoring: Option<ConfigManagementPolicyControllerMonitoring>Monitoring specifies the configuration of monitoring.
mutation_enabled: Option<bool>Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
referential_rules_enabled: Option<bool>Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
template_library_installed: Option<bool>Installs the default template library along with Policy Controller.
Trait Implementations§
Source§impl Clone for ConfigManagementPolicyController
impl Clone for ConfigManagementPolicyController
Source§fn clone(&self) -> ConfigManagementPolicyController
fn clone(&self) -> ConfigManagementPolicyController
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ConfigManagementPolicyController
impl Default for ConfigManagementPolicyController
Source§fn default() -> ConfigManagementPolicyController
fn default() -> ConfigManagementPolicyController
Source§impl<'de> Deserialize<'de> for ConfigManagementPolicyController
impl<'de> Deserialize<'de> for ConfigManagementPolicyController
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>,
impl Part for ConfigManagementPolicyController
Auto Trait Implementations§
impl Freeze for ConfigManagementPolicyController
impl RefUnwindSafe for ConfigManagementPolicyController
impl Send for ConfigManagementPolicyController
impl Sync for ConfigManagementPolicyController
impl Unpin for ConfigManagementPolicyController
impl UnwindSafe for ConfigManagementPolicyController
Blanket Implementations§
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,
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 more