Class: Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync
- Inherits:
-
Object
- Object
- Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb
Overview
Configuration for Config Sync
Instance Attribute Summary collapse
-
#enabled ⇒ ::Boolean
Enables the installation of ConfigSync.
-
#git ⇒ ::Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig
Git repo configuration for the cluster.
-
#metrics_gcp_service_account_email ⇒ ::String
The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
-
#oci ⇒ ::Google::Cloud::GkeHub::ConfigManagement::V1::OciConfig
OCI repo configuration for the cluster.
-
#prevent_drift ⇒ ::Boolean
Set to true to enable the Config Sync admission webhook to prevent drifts.
-
#source_format ⇒ ::String
Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
Instance Attribute Details
#enabled ⇒ ::Boolean
Returns 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.
128 129 130 131 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 128 class ConfigSync include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#git ⇒ ::Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig
Returns Git repo configuration for the cluster.
128 129 130 131 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 128 class ConfigSync include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#metrics_gcp_service_account_email ⇒ ::String
Returns The Email of the Google Cloud Service Account (GSA) used for exporting
Config Sync metrics to Cloud Monitoring 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.
128 129 130 131 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 128 class ConfigSync include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#oci ⇒ ::Google::Cloud::GkeHub::ConfigManagement::V1::OciConfig
Returns OCI repo configuration for the cluster.
128 129 130 131 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 128 class ConfigSync include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#prevent_drift ⇒ ::Boolean
Returns 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.
128 129 130 131 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 128 class ConfigSync include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#source_format ⇒ ::String
Returns Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
128 129 130 131 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 128 class ConfigSync include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |