Module: Google::Cloud::GkeBackup::V1::RestoreConfig::ClusterResourceConflictPolicy

Defined in:
proto_docs/google/cloud/gkebackup/v1/restore.rb

Overview

Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.

Constant Summary collapse

CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED =

Unspecified. Only allowed if no cluster-scoped resources will be restored.

0
USE_EXISTING_VERSION =

Do not attempt to restore the conflicting resource.

1
USE_BACKUP_VERSION =

Delete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.

2