Class PolicyControllerHubConfig
Configuration for Policy Controller
Implements
Inherited Members
Namespace: Google.Apis.GKEHub.v2beta.Data
Assembly: Google.Apis.GKEHub.v2beta.dll
Syntax
public class PolicyControllerHubConfig : IDirectResponseSchema
Properties
AuditIntervalSeconds
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
Declaration
[JsonProperty("auditIntervalSeconds")]
public virtual long? AuditIntervalSeconds { get; set; }
Property Value
Type | Description |
---|---|
long? |
ConstraintViolationLimit
The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
Declaration
[JsonProperty("constraintViolationLimit")]
public virtual long? ConstraintViolationLimit { get; set; }
Property Value
Type | Description |
---|---|
long? |
DeploymentConfigs
Map of deployment configs to deployments (“admission”, “audit”, “mutation”).
Declaration
[JsonProperty("deploymentConfigs")]
public virtual IDictionary<string, PolicyControllerPolicyControllerDeploymentConfig> DeploymentConfigs { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, PolicyControllerPolicyControllerDeploymentConfig> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
Declaration
[JsonProperty("exemptableNamespaces")]
public virtual IList<string> ExemptableNamespaces { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
InstallSpec
The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
Declaration
[JsonProperty("installSpec")]
public virtual string InstallSpec { get; set; }
Property Value
Type | Description |
---|---|
string |
LogDeniesEnabled
Logs all denies and dry run failures.
Declaration
[JsonProperty("logDeniesEnabled")]
public virtual bool? LogDeniesEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Monitoring
Monitoring specifies the configuration of monitoring.
Declaration
[JsonProperty("monitoring")]
public virtual PolicyControllerMonitoringConfig Monitoring { get; set; }
Property Value
Type | Description |
---|---|
PolicyControllerMonitoringConfig |
MutationEnabled
Enables the ability to mutate resources using Policy Controller.
Declaration
[JsonProperty("mutationEnabled")]
public virtual bool? MutationEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PolicyContent
Specifies the desired policy content on the cluster
Declaration
[JsonProperty("policyContent")]
public virtual PolicyControllerPolicyContentSpec PolicyContent { get; set; }
Property Value
Type | Description |
---|---|
PolicyControllerPolicyContentSpec |
ReferentialRulesEnabled
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
Declaration
[JsonProperty("referentialRulesEnabled")]
public virtual bool? ReferentialRulesEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |