public sealed class PolicyController : IMessage<PolicyController>, IEquatable<PolicyController>, IDeepCloneable<PolicyController>, IBufferMessage, IMessage
Configuration for Policy Controller
Implements
IMessage<PolicyController>, System.IEquatable<PolicyController>, IDeepCloneable<PolicyController>, IBufferMessage, IMessageNamespace
Google.Cloud.GkeHub.V1.ConfigManagementAssembly
Google.Cloud.GkeHub.V1.dll
Constructors
PolicyController()
public PolicyController()
PolicyController(PolicyController)
public PolicyController(PolicyController other)
Parameter | |
---|---|
Name | Description |
other | PolicyController |
Properties
AuditIntervalSeconds
public long AuditIntervalSeconds { get; set; }
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
Property Value | |
---|---|
Type | Description |
Int64 |
Enabled
public bool Enabled { get; set; }
Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
Property Value | |
---|---|
Type | Description |
Boolean |
ExemptableNamespaces
public RepeatedField<string> ExemptableNamespaces { get; }
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
Property Value | |
---|---|
Type | Description |
RepeatedField<System.String> |
HasAuditIntervalSeconds
public bool HasAuditIntervalSeconds { get; }
Gets whether the "audit_interval_seconds" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasTemplateLibraryInstalled
public bool HasTemplateLibraryInstalled { get; }
Gets whether the "template_library_installed" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
LogDeniesEnabled
public bool LogDeniesEnabled { get; set; }
Logs all denies and dry run failures.
Property Value | |
---|---|
Type | Description |
Boolean |
ReferentialRulesEnabled
public bool ReferentialRulesEnabled { get; set; }
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
Property Value | |
---|---|
Type | Description |
Boolean |
TemplateLibraryInstalled
public bool TemplateLibraryInstalled { get; set; }
Installs the default template library along with Policy Controller.
Property Value | |
---|---|
Type | Description |
Boolean |