KOP GitOps - Resource Deletion with Termination Protection - Rafay Product Documentation

Termination Protection

Termination Protection

Overview

The Kubernetes Operations Platform now includes a termination protection feature for GitOps System Sync interface, offering an additional safeguard against accidental deletion of clusters and environments. When enabled, this protection prevents the deletion of clusters and environments through the GitOps System Sync interface, ensuring controlled and secure operations. This feature enhances governance by allowing users to configure termination protection based on specific requirements, with clear logging and access control for complete transparency.

It's important to note that this protection is exclusive to GitOps System Sync and does not apply to other interfaces, such as the UI, CLI, or Terraform.


Configure Termination Protection

Note: In the future, additional resources will be included under termination protection as part of ongoing platform enhancements.

Pipeline Behavior

When a cluster resource(s) file are deleted from the Git repository, a pipeline is automatically triggered to process the change. However, if termination protection is toggled ON, the following happens:

If termination protection is toggled OFF and the resource has been synced from Git at least once, the pipeline will proceed with the deletion as intended.


Access Control and Audit Logs