FeatureMembershipConfigmanagementConfigSync

data class FeatureMembershipConfigmanagementConfigSync(val enabled: Boolean? = null, val git: FeatureMembershipConfigmanagementConfigSyncGit? = null, val metricsGcpServiceAccountEmail: String? = null, val oci: FeatureMembershipConfigmanagementConfigSyncOci? = null, val preventDrift: Boolean? = null, val sourceFormat: String? = null)

Constructors

constructor(enabled: Boolean? = null, git: FeatureMembershipConfigmanagementConfigSyncGit? = null, metricsGcpServiceAccountEmail: String? = null, oci: FeatureMembershipConfigmanagementConfigSyncOci? = null, preventDrift: Boolean? = null, sourceFormat: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val enabled: Boolean? = null

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.

Link copied to clipboard

(Optional) Structure is documented below.

Link copied to clipboard

The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring. 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.

Link copied to clipboard

(Optional) Supported from ACM versions 1.12.0 onwards. Structure is documented below. Use either git or oci config option.

Link copied to clipboard
val preventDrift: Boolean? = null

Supported from ACM versions 1.10.0 onwards. 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.

Link copied to clipboard
val sourceFormat: String? = null

Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.