clusterResourceConflictPolicy property

String? clusterResourceConflictPolicy
getter/setter pair

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

This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.

Optional. Possible string values are:

  • "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED" : Unspecified. Only allowed if no cluster-scoped resources will be restored.
  • "USE_EXISTING_VERSION" : Do not attempt to restore the conflicting resource.
  • "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.

Implementation

core.String? clusterResourceConflictPolicy;