Class ConfigManagementConfigSync
Configuration for Config Sync
Implements
Inherited Members
Namespace: Google.Apis.GKEHub.v1beta.Data
Assembly: Google.Apis.GKEHub.v1beta.dll
Syntax
public class ConfigManagementConfigSync : IDirectResponseSchema
Properties
AllowVerticalScale
Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.
Declaration
[JsonProperty("allowVerticalScale")]
public virtual bool? AllowVerticalScale { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Git
Git repo configuration for the cluster.
Declaration
[JsonProperty("git")]
public virtual ConfigManagementGitConfig Git { get; set; }
Property Value
Type | Description |
---|---|
ConfigManagementGitConfig |
MetricsGcpServiceAccountEmail
The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud
Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric
Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount default
in the namespace
config-management-monitoring
should be bound to the GSA.
Declaration
[JsonProperty("metricsGcpServiceAccountEmail")]
public virtual string MetricsGcpServiceAccountEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
Oci
OCI repo configuration for the cluster
Declaration
[JsonProperty("oci")]
public virtual ConfigManagementOciConfig Oci { get; set; }
Property Value
Type | Description |
---|---|
ConfigManagementOciConfig |
PreventDrift
Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false
, disables the
Config Sync admission webhook and does not prevent drifts.
Declaration
[JsonProperty("preventDrift")]
public virtual bool? PreventDrift { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SourceFormat
Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
Declaration
[JsonProperty("sourceFormat")]
public virtual string SourceFormat { get; set; }
Property Value
Type | Description |
---|---|
string |