Custom Resource Definition - Application

API reference for Trilio Application

Packages:

triliovault.trilio.io/v1

Package v1 contains API Schema definitions for the triliocrds v1 API group trigger images

Resource Types:

ActionFlags

(Appears on: ClusterRestoreSpec, RestoreSpec)

FieldDescription

cleanupOnFailure bool

CleanupOnFailure is flag to perform cleanup after restore fails. Defaults to false

protectRestoredApp bool

ProtectRestoredApp decides if T4K will setup a backupPlan to protect the restored application.

imageRestore bool

ImageRestore is flag to perform the container image restore

ApplicationType (string alias)

(Appears on: BackupPlanStatus, BackupStatus, RestoreStatus)

ApplicationType specifies type of a Backup of an application

Backup

Backup represents the capture of Kubernetes BackupPlan defined by user at a point in time

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

Type is the type of backup in the sequence of backups of an Application.

BackupPlan is a reference to the BackupPlan to be backed up.

Type is the type of backup in the sequence of backups of an Application.

BackupPlan is a reference to the BackupPlan to be backed up.

Type is the type of backup in the sequence of backups of an Application.

BackupPlan is a reference to the BackupPlan to be backed up.

Type is the type of backup in the sequence of backups of an Application.

BackupPlan is a reference to the BackupPlan to be backed up.

BackupComponent

(Appears on: BackupComponentInfo, ClusterBackupPlanSpec)

BackupComponent defines the namespace and their configurations for backup

FieldDescription

namespace string

hookConfig HookConfig

hookConfig defines backup pre/post hooks and their configurations.

includeResources ResourceSelector

IncludeResources specifies the resources included during backup

excludeResources ResourceSelector

ExcludedResources specifies the resources excluded during backup

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

BackupComponentInfo

FieldDescription

BackupComponent BackupComponent

Name string

BackupCondition

(Appears on: BackupStatus)

BackupCondition specifies the current condition of a backup resource.

FieldDescription

status Status

Status is the status of the condition.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

Phase defines the current phase of the controller. nolint:lll // directive continuation

BackupConfig

(Appears on: BackupPlanSpec)

BackupConfig defines the required configuration for taking the backup such as target and retention policy. NOTE: ClusterBackupConfig field in clusterbackupplan_types.go is similar to this structure. Changes made here might be required to be reflected there as well.

FieldDescription

Target is the object reference for the backup target resources

RetentionPolicy is the object reference for the policy of type retention defined

schedulePolicy SchedulePolicy

SchedulePolicy includes the object references of 2 type of cron schedule policy: incremental and full

maxIncrBackupsPerFullBackup byte

MaxIncrBackupsPerFullBackup is the number of incremental backups after which full backup will ge triggered. This is relevant only in case of immutable backups

BackupInfo

(Appears on: ClusterBackupStatus)

BackupInfo contains the relevant information to uniquely identify a child Backup created from a ClusterBackup

FieldDescription

Backup ObjectReference of child Backup

status Status

Status status of child Backup

percentageCompletion byte

PercentageCompletion is the amount of backup operation completed.

location string

Location is the Backup’s location on the target

BackupPlan

BackupPlan is the Schema for the BackupPlan API

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

backupNamespace string

Namespace is the namespace from where the components of backupPlan to be selected Deprecated: After removal of cluster scope CRD support, Backup namespace will be same as BackupPlan namespace.

backupConfig BackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

backupPlanComponents BackupPlanComponents

BackupPlanComponents includes all the components which defines this BackupPlan i.e Helm charts, operators and label based resources

hookConfig HookConfig

hookConfig defines backup pre/post hooks and their configurations.

includeResources ResourceSelector

IncludeResources specify resources to include for namespace scope backup based on LabelSelector & GVKSelector. This acts similar like SelectResources used in custom or operators.

excludeResources ResourceSelector

ExcludeResources specify resources to exclude for namespace scope backup based on LabelSelector & GVKSelector

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for Backup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

backupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the backup plan level.

backupNamespace string

Namespace is the namespace from where the components of backupPlan to be selected Deprecated: After removal of cluster scope CRD support, Backup namespace will be same as BackupPlan namespace.

backupConfig BackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

backupPlanComponents BackupPlanComponents

BackupPlanComponents includes all the components which defines this BackupPlan i.e Helm charts, operators and label based resources

hookConfig HookConfig

hookConfig defines backup pre/post hooks and their configurations.

includeResources ResourceSelector

IncludeResources specify resources to include for namespace scope backup based on LabelSelector & GVKSelector. This acts similar like SelectResources used in custom or operators.

excludeResources ResourceSelector

ExcludeResources specify resources to exclude for namespace scope backup based on LabelSelector & GVKSelector

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for Backup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

backupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the backup plan level.

backupNamespace string

Namespace is the namespace from where the components of backupPlan to be selected Deprecated: After removal of cluster scope CRD support, Backup namespace will be same as BackupPlan namespace.

backupConfig BackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

backupPlanComponents BackupPlanComponents

BackupPlanComponents includes all the components which defines this BackupPlan i.e Helm charts, operators and label based resources

hookConfig HookConfig

hookConfig defines backup pre/post hooks and their configurations.

includeResources ResourceSelector

IncludeResources specify resources to include for namespace scope backup based on LabelSelector & GVKSelector. This acts similar like SelectResources used in custom or operators.

excludeResources ResourceSelector

ExcludeResources specify resources to exclude for namespace scope backup based on LabelSelector & GVKSelector

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for Backup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

backupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the backup plan level.

backupNamespace string

Namespace is the namespace from where the components of backupPlan to be selected Deprecated: After removal of cluster scope CRD support, Backup namespace will be same as BackupPlan namespace.

backupConfig BackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

backupPlanComponents BackupPlanComponents

BackupPlanComponents includes all the components which defines this BackupPlan i.e Helm charts, operators and label based resources

hookConfig HookConfig

hookConfig defines backup pre/post hooks and their configurations.

includeResources ResourceSelector

IncludeResources specify resources to include for namespace scope backup based on LabelSelector & GVKSelector. This acts similar like SelectResources used in custom or operators.

excludeResources ResourceSelector

ExcludeResources specify resources to exclude for namespace scope backup based on LabelSelector & GVKSelector

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for Backup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

backupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the backup plan level.

BackupPlanComponents

(Appears on: BackupPlanSpec)

BackupPlanComponents contains the 3 types of components, helm charts, operators and custom label-based resources

FieldDescription

helmReleases []string

HelmReleases is the list of release names

Operators is the list of operator names and their selectors

Deprecated: Custom is the combination of label selectors including match labels and match expressions

customSelector CustomSelector

CustomSelector specify resource selection for custom resources, This is the combination of LabelSelectorincluding match labels and match expressions and GVKSelector which could be GroupVersionKind & Objects

BackupPlanCondition

(Appears on: BackupPlanStatus)

BackupPlanCondition specifies the current condition of a backupPlan resource.

FieldDescription

status Status

Status is the status of the condition.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

Phase defines the current phase of the controller.

BackupPlanFlags

(Appears on: BackupPlanSpec, ClusterBackupPlanSpec)

FieldDescription

skipImageBackup bool

SkipImageBackup is flag to skip the container images backup

BackupPlanInfo

(Appears on: ClusterBackupPlanStatus)

BackupPlanInfo defines the object reference and status of a backupPlan

FieldDescription

BackupPlan is the object reference of a backupPlan

PartOf specify how backupPlan is selected, it could be by NamespaceSelector or by BackupComponent

name string

Name will specify namespace selector’s name if backupPlan is PartOf NamespaceSelector Name will be empty if backupPlan is PartOf BackupComponents

status Status

Status is the status of the backupPlan

BackupPlanSelector (string alias)

(Appears on: BackupComponentInfo, BackupPlanInfo)

BackupPlanSelector used in ClusterBackupPlan Status to identify how corresponding backupPlan is selected by, it could be by NamespaceSelector or by BackupComponent

BackupPlanSpec

(Appears on: BackupPlan)

BackupPlanSpec defines the desired state of BackupPlan

FieldDescription

backupNamespace string

Namespace is the namespace from where the components of backupPlan to be selected Deprecated: After removal of cluster scope CRD support, Backup namespace will be same as BackupPlan namespace.

backupConfig BackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

backupPlanComponents BackupPlanComponents

BackupPlanComponents includes all the components which defines this BackupPlan i.e Helm charts, operators and label based resources

hookConfig HookConfig

hookConfig defines backup pre/post hooks and their configurations.

includeResources ResourceSelector

IncludeResources specify resources to include for namespace scope backup based onLabelSelector & GVKSelector. This acts similar like SelectResources used in custom or operators.

excludeResources ResourceSelector

ExcludeResources specify resources to exclude for namespace scope backup based on LabelSelector & GVKSelector

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for Backup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

backupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the backup plan level.

BackupPlanStats

(Appears on: BackupPlanStatus)

BackupPlanStats defines the stats for a BackupPlan

FieldDescription

backupSummary BackupSummary

restoreSummary RestoreSummary

immutable bool

Immutable specify whether a backup data is going to be immutable.

BackupPlanStatus

(Appears on: BackupPlan)

BackupPlanStatus defines the observed state of BackupPlan

FieldDescription

Condition is the current condition of a backupPlan.

status Status

Status defines the status oif the application resource as available when no operation is running and unavailable when a backup or restore operation is in progress

Scope indicates scope of component in BackupPlan i.e. App or Namespace.

applicationType ApplicationType

ApplicationType is the type of BackupPlan defining backup

Deprecated: IncrementalCron will be used as an list of references of Crons

Deprecated: FullBackupCron will be used as an list of references of Crons

SecurityScanStatus contains the information of each Security instanceID defined, and it’s Security Scan status

ContinuousRestoreStatus contains the information of each ContinuousRestore instanceID defined, and it’s ContinuousRestore service status

BackupScanInfo

(Appears on: ScanInstance)

FieldDescription

MetadataScannerStatus is the result of Metadata Scanning It is the mapping of scanner name and its corresponding report

DataScannerStatus is the result of Data Scanning It is the mapping of scanner name and its corresponding report

ImageScannerStatus is the result of Image Scanning It is the mapping of scanner name and its corresponding report

BackupScheduleType (string alias)

BackupScheduleType specifies the type of schedule which triggered the backup

BackupSpec

(Appears on: Backup)

BackupSpec defines the desired state of Backup

FieldDescription

Type is the type of backup in the sequence of backups of an Application.

BackupPlan is a reference to the BackupPlan to be backed up.

BackupStats

(Appears on: BackupStatus)

BackupStats specifies the stats of a Backup

FieldDescription

Target is the reference to a Target backuped up Deprecated: Target information moved to TargetInfo field.

targetInfo TargetInfo

TargetInfo is the information to a Target backed up

latestInProgressRestore Kubernetes core/v1.ObjectReference

LatestInProgressRestore is the reference to the latest InProgress Restore of a Backup

latestCompletedRestore Kubernetes core/v1.ObjectReference

LatestCompletedRestore is the reference to the latest Completed Restore of a Backup

hookExists bool

HookExists is a bool value that states if a backup has hooks in backup plan

encryption Encryption

Encryption specifies encryption details of a backup

immutable bool

Immutable specify whether a backup data is immutable

BackupStatus

(Appears on: Backup)

BackupStatus defines the observed state of Backup

FieldDescription

backupScope ComponentScope

BackupScope indicates scope of component in backup i.e. App or Namespace.

applicationType ApplicationType

ApplicationType is the type of Application backed up in the App Scoped backup.

Type indicates the backup type in backup i.e. Full, Incremental or Mixed.

location string

Location is the absolute path of the target where backup resides.

StartTimestamp is the time a backup was started.

completionTimestamp Kubernetes meta/v1.Time

CompletionTimestamp is the time a backup was finished.

Phase is the current phase of the backup operation.

phaseStatus Status

PhaseStatus is the status of phase backup operation going through.

status Status

Status is the status of the backup operation.

Size is the aggregate size of the data backuped up.

percentageCompletion byte

PercentageCompletion is the amount of backup operation completed.

expirationTimestamp Kubernetes meta/v1.Time

ExpirationTimeStamp is the time a backup will not be available after retention.

snapshot Snapshot

Todo: Do we need this option as optional one? Todo: This is optional because, we are allowing the custom backup as empty Snapshot specifies the contents of captured backup.

Condition is the current condition of hooks while backup.

HookStatus specifies pre/post hook execution status for current backup.

SecurityScanStatus contains the information of Security Scan performed for Backup on each Security instanceID defined.

ConsistentSetStatus contains the mapping of instanceID and the ContinuousRestore performed for Backup on that ContinuousRestore site instance.

Duration is the amount of time the backup process took to finish.

encryptionEnabled bool

EncryptionEnabled flag shows that encryption is enabled for backup

BackupSummary

(Appears on: BackupPlanStats)

BackupSummary comprises of backup object references and count of backups with different statuses

FieldDescription

InProgressBackup is the reference to an InProgress backup of a BackupPlan

LastSuccessfulBackup is the reference to Latest available Backup of a BackupPlan

LatestBackup is the reference to Latest Backup in any state, of a BackupPlan

totalAvailableBackups uint32

TotalAvailableBackups is the count of total number of Available Backups

totalFailedBackups uint32

TotalFailedBackups is the count of total number of InProgress Backups

totalQueuedBackups uint32

TotalQueuedBackups is the count of total number of Queued Backups

pvcExistsForBackup bool

PVCExistsForBackup is a bool value that states if the latest backup of a backup plan has PVCs in its data component

BackupType (string alias)

(Appears on: BackupSpec, BackupStatus, ClusterBackupSpec, ClusterBackupStatus, DataSnapshot, ImageSnapshot)

BackupType defines the type backup instance of an BackupPlan

CleanupConfig

(Appears on: PolicySpec)

CleanupConfig is the configuration for the PolicyType: Cleanup

FieldDescription

backupDays int

BackupDays is the age of backups to be cleaned

ClusterBackup

ClusterBackup is the Schema for the ClusterBackup API

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

Type is the type of clusterBackup in the sequence of clusterBackups.

ClusterBackupPlan is a reference to the ClusterBackupPlan to be backed up.

Type is the type of clusterBackup in the sequence of clusterBackups.

ClusterBackupPlan is a reference to the ClusterBackupPlan to be backed up.

Type is the type of clusterBackup in the sequence of clusterBackups.

ClusterBackupPlan is a reference to the ClusterBackupPlan to be backed up.

Type is the type of clusterBackup in the sequence of clusterBackups.

ClusterBackupPlan is a reference to the ClusterBackupPlan to be backed up.

ClusterBackupCondition

(Appears on: ClusterBackupStatus)

ClusterBackupCondition specifies the current condition of a clusterBackup resource.

FieldDescription

Phase defines the current phase of the controller.

status Status

Status is the status of the condition.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why clusterBackup is in this condition.

ClusterBackupConfig

(Appears on: ClusterBackupPlanSpec)

ClusterBackupConfig defines the require configuration for taking the backup such as target and retention policy. NOTE: BackupConfig field in backupplan_types.go is similar to this structure. Changes made here might be required to be reflected there as well.

FieldDescription

Target is the object reference for the backup target resources

RetentionPolicy is the object reference for the policy of type retention defined

SchedulePolicy includes the object references of 2 type of cron schedule policy: incremental and full

maxIncrBackupsPerFullBackup byte

MaxIncrBackupsPerFullBackup is the number of incremental backups after which full backup will ge triggered. This is relevant only in case of immutable backups

ClusterBackupPlan

ClusterBackupPlan is the Schema for the ClusterBackupPlan API

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

backupComponents []BackupComponent

BackupComponents defines all the BackupComponents for which backups are to be taken. It includes namespaces and their configurations

namespaceSelector []NamespaceSelector

NamespaceSelector defines namespaces for which backups are to be taken based on NamespaceSelector(labels & match expression) & their configurations

backupConfig ClusterBackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

includeResources ResourceSelector

IncludeResources specifies the resources to be explicitly included during backup

excludeResources ResourceSelector

ExcludedResources specifies the resources to be excluded from the backup

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for ClusterBackup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

clusterBackupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the cluster backup plan level.

backupComponents []BackupComponent

BackupComponents defines all the BackupComponents for which backups are to be taken. It includes namespaces and their configurations

namespaceSelector []NamespaceSelector

NamespaceSelector defines namespaces for which backups are to be taken based on NamespaceSelector(labels & match expression) & their configurations

backupConfig ClusterBackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

includeResources ResourceSelector

IncludeResources specifies the resources to be explicitly included during backup

excludeResources ResourceSelector

ExcludedResources specifies the resources to be excluded from the backup

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for ClusterBackup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

clusterBackupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the cluster backup plan level.

backupComponents []BackupComponent

BackupComponents defines all the BackupComponents for which backups are to be taken. It includes namespaces and their configurations

namespaceSelector []NamespaceSelector

NamespaceSelector defines namespaces for which backups are to be taken based on NamespaceSelector(labels & match expression) & their configurations

backupConfig ClusterBackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

includeResources ResourceSelector

IncludeResources specifies the resources to be explicitly included during backup

excludeResources ResourceSelector

ExcludedResources specifies the resources to be excluded from the backup

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for ClusterBackup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

clusterBackupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the cluster backup plan level.

backupComponents []BackupComponent

BackupComponents defines all the BackupComponents for which backups are to be taken. It includes namespaces and their configurations

namespaceSelector []NamespaceSelector

NamespaceSelector defines namespaces for which backups are to be taken based on NamespaceSelector(labels & match expression) & their configurations

backupConfig ClusterBackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

includeResources ResourceSelector

IncludeResources specifies the resources to be explicitly included during backup

excludeResources ResourceSelector

ExcludedResources specifies the resources to be excluded from the backup

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for ClusterBackup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

clusterBackupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the cluster backup plan level.

ClusterBackupPlanCondition

(Appears on: ClusterBackupPlanStatus)

ClusterBackupPlanCondition specifies the current condition of a cluster backup plan resource.

FieldDescription

status Status

Status is the status of the condition

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

Phase defines the current phase of the controller.

Phase defines the current phase of the controller.

Phase defines the current phase of the controller.

Phase defines the current phase of the controller.

ClusterBackupPlanSpec

(Appears on: ClusterBackupPlan)

ClusterBackupPlanSpec defines the desired state of ClusterBackupPlan

FieldDescription

backupComponents []BackupComponent

BackupComponents defines all the BackupComponents for which backups are to be taken. It includes namespaces and their configurations

namespaceSelector []NamespaceSelector

NamespaceSelector defines namespaces for which backups are to be taken based on NamespaceSelector(labels & match expression) & their configurations

backupConfig ClusterBackupConfig

BackupConfig is the type containing the object references for all the configurations needed for backup operation

includeResources ResourceSelector

IncludeResources specifies the resources to be explicitly included during backup

excludeResources ResourceSelector

ExcludedResources specifies the resources to be excluded from the backup

encryption Encryption

Encryption specify how to encrypt backups on target for this backupPlan

securityScanConfig SecurityScanConfigInfo

SecurityScanConfig defines the Security Scan config to be used for ClusterBackup scanning

continuousRestoreConfig ContinuousRestoreConfigInfo

ContinuousRestoreConfig defines the Continuous Restore config to be used

retainHelmApps bool

RetainHelmApps is a bool value that states that backup the helm application using helm way while taking namespace backup.

clusterBackupPlanFlags BackupPlanFlags

BackupPlanFlags specifies all the flags specified at the cluster backup plan level.

ClusterBackupPlanStats

(Appears on: ClusterBackupPlanStatus)

ClusterBackupPlanStats defines the stats for a ClusterBackupPlan

FieldDescription

clusterBackupSummary ClusterBackupSummary

clusterRestoreSummary ClusterRestoreSummary

immutable bool

Immutable specify whether a backup data is going to be immutable

ClusterBackupPlanStatus

(Appears on: ClusterBackupPlan)

ClusterBackupPlanStatus defines the observed state of ClusterBackupPlan

FieldDescription

status Status

Status defines the current state of the ClusterBackupPlan resource. Availablestate ClusterBackupPlan only can be used for ClusterBackup

BackupPlans is the map of backupPlan name and its object ref managed by cluster backup plan

Condition is the current condition of a cluster backup plan.

SecurityScanStatus contains the information of each Security instanceID defined, and it’s Security Scan status

ContinuousRestoreStatus contains the information of each ContinuousRestore instanceID defined, and it’s ContinuousRestore service status

ClusterBackupSchedulePolicy

(Appears on: ClusterBackupConfig)

ClusterBackupSchedulePolicy contains the object references for incremental or full backup type schedule policy

FieldDescription

incrementalBackupPolicy Kubernetes core/v1.ObjectReference

IncrementalBackupPolicy is the object reference for the policy of type schedule defined

FullBackupPolicy is the object reference for the policy of type schedule defined

ClusterBackupSpec

(Appears on: ClusterBackup)

ClusterBackupSpec defines the desired state of ClusterBackup

FieldDescription

Type is the type of clusterBackup in the sequence of clusterBackups.

ClusterBackupPlan is a reference to the ClusterBackupPlan to be backed up.

ClusterBackupStats

(Appears on: ClusterBackupStatus)

ClusterBackupStats specifies the stats of a ClusterBackup

FieldDescription

Target is the reference to a Target backuped up Deprecated: Target information moved to TargetInfo field

targetInfo TargetInfo

TargetInfo is the information to a Target backed up

latestInProgressClusterRestore Kubernetes core/v1.ObjectReference

LatestInProgressClusterRestore is the reference to the latest InProgress ClusterRestore of a ClusterBackup

lastCompletedClusterRestore Kubernetes core/v1.ObjectReference

LastCompletedClusterRestore is the reference to the latest Completed ClusterRestore of a ClusterBackup

hookExists bool

HookExists is a bool value that states if a ClusterBackup has hooks in ClusterBackupPlan

encryption Encryption

Encryption specifies encryption details of a ClusterBackup

immutable bool

Immutable specify whether a clusterBackup data is immutable

ClusterBackupStatus

(Appears on: ClusterBackup)

ClusterBackupStatus defines the observed state of ClusterBackup

FieldDescription

Type indicates the ClusterBackup type in backup i.e. Full, Incremental or Mixed.

location string

Location is the absolute path of the target where backup resides.

StartTimestamp is the time when ClusterBackup was started.

completionTimestamp Kubernetes meta/v1.Time

CompletionTimestamp is the time when ClusterBackup finished.

status Status

Status is the status of the ClusterBackup operation.

Size is the aggregate size of the data backuped up.

percentageCompletion byte

PercentageCompletion is the percentage of ClusterBackup operation completed.

expirationTimestamp Kubernetes meta/v1.Time

ExpirationTimeStamp is the time after which a ClusterBackup will not be available after retention.

Condition is the conditions a ClusterBackup goes through during backup TODO: Define a separate condition struct

Duration is the amount of time the ClusterBackup process took to finish.

BackupInfos contains the information of the child Backup CRs created by this ClusterBackup

SecurityScanStatus contains the information of Security Scan performed for ClusterBackup on each Security instanceID defined.

ConsistentSetStatus contains the information of ContinuousRestore performed for ClusterBackup on each ContinuousRestore instanceID defined.

encryptionEnabled bool

EncryptionEnabled flag shows that encryption is enabled for cluster backup

ClusterBackupSummary

(Appears on: ClusterBackupPlanStats)

ClusterBackupSummary comprises of ClusterBackup object references and count of ClusterBackups with different statuses

FieldDescription

inProgressClusterBackup Kubernetes core/v1.ObjectReference

InProgressClusterBackup is the reference to an InProgress ClusterBackup of a ClusterBackupPlan

lastSuccessfulClusterBackup Kubernetes core/v1.ObjectReference

LastSuccessfulClusterBackup is the reference to Latest available ClusterBackup of a ClusterBackupPlan

LatestClusterBackup is the reference to Latest ClusterBackup in any state, of a ClusterBackupPlan

totalAvailableClusterBackups uint32

TotalAvailableClusterBackups is the count of total number of Available ClusterBackups

totalFailedClusterBackups uint32

TotalFailedClusterBackups is the count of total number of Failed ClusterBackups.

totalQueuedClusterBackups uint32

TotalQueuedClusterBackups is the count of total number of Queued ClusterBackups.

pvcExistsForBackup bool

PVCExistsForBackup is a bool value that states if the latest clusterBackup of a clusterBackupPlan has any backup that has PVCs in its data component

ClusterRestore

ClusterRestore defines the desired state of ClusterRestore

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

Type is the type of source for ClusterRestore

globalConfig RestoreConfig

GlobalConfig is the global restore configuration which is applicable for the components of restore unless explicitly overridden at the component level

Components defines the components and their custom configuration using which individual component restore is to be done

excludeComponents []string

ExcludeComponents specifies the components(namespaces) to be excluded from the ClusterRestore

cleanupOnFailure bool

CleanupOnFailure is flag to perform cleanup for all restores when ClusterRestore has failed. Deprecated: CleanupOnFailure flag is now moved under ActionFlags struct

actionFlags ActionFlags

encryption Encryption

Encryption specify encryption key to decrypt the encrypted data.

imageRegistry ImageRegistry

ImageRegistry specifies the configuration to restore container images

Type is the type of source for ClusterRestore

globalConfig RestoreConfig

GlobalConfig is the global restore configuration which is applicable for the components of restore unless explicitly overridden at the component level

Components defines the components and their custom configuration using which individual component restore is to be done

excludeComponents []string

ExcludeComponents specifies the components(namespaces) to be excluded from the ClusterRestore

cleanupOnFailure bool

CleanupOnFailure is flag to perform cleanup for all restores when ClusterRestore has failed. Deprecated: CleanupOnFailure flag is now moved under ActionFlags struct

actionFlags ActionFlags

encryption Encryption

Encryption specify encryption key to decrypt the encrypted data.

imageRegistry ImageRegistry

ImageRegistry specifies the configuration to restore container images

Type is the type of source for ClusterRestore

globalConfig RestoreConfig

GlobalConfig is the global restore configuration which is applicable for the components of restore unless explicitly overridden at the component level

Components defines the components and their custom configuration using which individual component restore is to be done

excludeComponents []string

ExcludeComponents specifies the components(namespaces) to be excluded from the ClusterRestore

cleanupOnFailure bool

CleanupOnFailure is flag to perform cleanup for all restores when ClusterRestore has failed. Deprecated: CleanupOnFailure flag is now moved under ActionFlags struct

actionFlags ActionFlags

encryption Encryption

Encryption specify encryption key to decrypt the encrypted data.

imageRegistry ImageRegistry

ImageRegistry specifies the configuration to restore container images

Type is the type of source for ClusterRestore

globalConfig RestoreConfig

GlobalConfig is the global restore configuration which is applicable for the components of restore unless explicitly overridden at the component level

Components defines the components and their custom configuration using which individual component restore is to be done

excludeComponents []string

ExcludeComponents specifies the components(namespaces) to be excluded from the ClusterRestore

cleanupOnFailure bool

CleanupOnFailure is flag to perform cleanup for all restores when ClusterRestore has failed. Deprecated: CleanupOnFailure flag is now moved under ActionFlags struct

actionFlags ActionFlags

encryption Encryption

Encryption specify encryption key to decrypt the encrypted data.

imageRegistry ImageRegistry

ImageRegistry specifies the configuration to restore container images

ClusterRestoreCondition

(Appears on: ClusterRestoreStatus)

FieldDescription

Phase defines the current phase of the controller.

status Status

Status is the status of the cluster restore.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

ClusterRestoreSource

(Appears on: ClusterRestoreSpec)

FieldDescription

Type is the type of source for restore

ClusterBackup is a reference to the ClusterBackup instance restored if type is ClusterBackup.

Target is a reference to the Target instance where from restore is performed if type is Location.

location string

Location is an absolute path to remote target from where restore is performed if type is Location.

ClusterBackupPlan is a reference to the ClusterBackupPlan whose latest successful backup is to be restored.

ConsistentSet is a reference to the ConsistentSet where restore is performed if type is ConsistentSet.

ClusterRestoreSourceType (string alias)

(Appears on: ClusterRestoreSource)

ClusterRestoreSpec

(Appears on: ClusterRestore)

ClusterRestoreSpec defines the source from where the ClusterRestore is to be done

FieldDescription

Type is the type of source for ClusterRestore

globalConfig RestoreConfig

GlobalConfig is the global restore configuration which is applicable for the components of restore unless explicitly overridden at the component level

Components defines the components and their custom configuration using which individual component restore is to be done

excludeComponents []string

ExcludeComponents specifies the components(namespaces) to be excluded from the ClusterRestore

cleanupOnFailure bool

CleanupOnFailure is flag to perform cleanup for all restores when ClusterRestore has failed. Deprecated: CleanupOnFailure flag is now moved under ActionFlags struct

actionFlags ActionFlags

encryption Encryption

Encryption specify encryption key to decrypt the encrypted data.

imageRegistry ImageRegistry

ImageRegistry specifies the configuration to restore container images

ClusterRestoreStats

(Appears on: ClusterRestoreStatus)

ClusterRestoreStats defines the stats for a RestorCluster

FieldDescription

ClusterBackupPlan is the reference to ClusterBackupPlan associated with ClusterRestore

ClusterBackup is the reference to the ClusterBackup associated with ClusterRestore

ClusterRestoreStatus

(Appears on: ClusterRestore)

ClusterRestoreStatus defines the observed state of ClusterRestore

FieldDescription

StartTimestamp is the time when ClusterRestore was started.

completionTimestamp Kubernetes meta/v1.Time

CompletionTimestamp is the time when ClusterRestore finished.

Phase is the current phase of the ClusterRestore operation.

phaseStatus Status

PhaseStatus is the status of phase ClusterRestore operation going through.

status Status

Status is the status of the ClusterRestore operation.

Size is the aggregate size of the data restored back.

percentageCompletion byte

PercentageCompletion is the percentage of ClusterRestore operation completed.

Condition is the overall condition of cluster restore resource.

Duration is the amount of time the ClusterRestore process took to finish.

ComponentInfos contains information related to each individual backup to be restored

createdNamespaces []string

CreatedNamespaces are the namespaces created for restores.

protectingResources []Resource

ProtectingResources lists the Trilio resources and dependent resources which are getting created after user cluster restore operation. It’s applicable only if ProtectRestoredApp is set to true.

encryptionEnabled bool

EncryptionEnabled flag shows that encryption is enabled for cluster backup

ClusterRestoreSummary

(Appears on: ClusterBackupPlanStats)

ClusterRestoreSummary comprises of ClusterRestore object references and count of ClusterRestore with different statuses

FieldDescription

lastSuccessfulClusterRestore Kubernetes core/v1.ObjectReference

LastSuccessfulClusterRestore is the reference to Latest completed ClusterRestore of a ClusterBackupPlan

LatestClusterRestore is the reference to Latest ClusterRestore in any state, of a ClusterBackupPlan

totalInProgressClusterRestores uint32

TotalInProgressClusterRestores is the count of total number of InProgress ClusterRestores

totalCompletedClusterRestores uint32

TotalCompletedClusterRestores is the count of total number of Completed ClusterRestores

totalFailedClusterRestores uint32

TotalFailedClusterRestores is the count of total number of Failed ClusterRestores

ComponentConfig

(Appears on: ClusterRestoreSpec)

FieldDescription

backupNamespace string

restoreNamespace string

restoreConfig RestoreConfig

hookConfig HookConfig

ComponentInfo

(Appears on: ClusterRestoreStatus)

FieldDescription

location string

Location is the location of the backup on target.

Backup is the reference of the Backup CR used for backing up this component

Restore is the reference of the Restore CR used for restoring this component.

restoreStatus Status

Status is the status of particular restore.

percentageCompletion byte

PercentageCompletion is the amount of restore operation completed.

ComponentScope (string alias)

(Appears on: BackupPlanStatus, BackupStatus, RestoreStatus)

ComponentScope indicates scope of components i.e. [App or Namespace] present in backup or restore

ComponentStatus

(Appears on: RestoreCustom, RestoreHelm, RestoreOperator)

ComponentStatus defines the details of restore of application component.

FieldDescription

existingResource []Resource

ExistingResource specifies the resources already existing in cluster defined in application.

skippedResources []Resource

SkippedResources specifies the resources skipped while restoring.

failedResources []Resource

FailedResources specifies the resources for which the restore operation failed

newResourcesAdded []Resource

NewResourcesAdded specifies the resources added(duplicated and modified) during restore.

excludedResources []Resource

ExcludedResources specifies the resources excluded during restore

failedCleanupResources []Resource

FailedCleanupResources specified the resources which doesn’t get clean up in failed restore

transformStatus []TransformStatus

TransformStatus is the status of transformation performed

Phase is the current phase of the application component while restore.

phaseStatus Status

PhaseStatus is the status of phase restore operation going through.

reason string

A brief message indicating details about why the application component is in this state.

Conditions

(Appears on: DataSnapshot, SnapshotInfo)

FieldDescription

status Status

Status is the status of the condition.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

Phase defines the current phase of the data components.

ConsistentSet

nolint:lll // directive continuation ConsistentSet is the Schema for the ConsistentSet API

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

ContinuousRestorePlan specifies the object references of continuousRestorePlan used

location string

Location is the target location where Backup/ClusterBackup is stored

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ContinuousRestorePlan specifies the object references of continuousRestorePlan used

location string

Location is the target location where Backup/ClusterBackup is stored

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ContinuousRestorePlan specifies the object references of continuousRestorePlan used

location string

Location is the target location where Backup/ClusterBackup is stored

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ContinuousRestorePlan specifies the object references of continuousRestorePlan used

location string

Location is the target location where Backup/ClusterBackup is stored

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ConsistentSetCondition

(Appears on: ConsistentSetStatus)

FieldDescription

Phase defines the current phase of the controller.

status Status

Status is the status of the cluster restore.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

ConsistentSetInfo

(Appears on: BackupStatus, ClusterBackupStatus, ContinuousRestorePlanStatus)

FieldDescription

consistentSetName string

ConsistentSetName is the name of ConsistentSet created for ContinuousRestore corresponding to the Backup/ClusterBackup

consistentSetUID k8s.io/apimachinery/pkg/types.UID

ScanInstanceUID is the UID of the ConsistentSet created for ContinuousRestore corresponding to the Backup/ClusterBackup

consistentSetStatus Status

ConsistentSetStatus is the current Status of ConsistentSet.

consistentSetCreationTimeStamp Kubernetes meta/v1.Time

ConsistentSetCreationTimeStamp is the creation timestamp of ConsistentSet

consistentSetCompletionTimeStamp Kubernetes meta/v1.Time

ConsistentSetCompletionTimeStamp is the completion timestamp of ConsistentSet

TotalSize is the aggregate size of the data restored

ConsistentSetScope (string alias)

(Appears on: ConsistentSetStatus)

ConsistentSetScope indicates scope of Consistent i.e. [Namespace or Cluster] as per the location given

ConsistentSetSpec

(Appears on: ConsistentSet)

ConsistentSetSpec defines the desired state of ConsistentSet

FieldDescription

ContinuousRestorePlan specifies the object references of continuousRestorePlan used

location string

Location is the target location where Backup/ClusterBackup is stored

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ConsistentSetStats

(Appears on: ConsistentSetStatus)

ConsistentSetStats defines the stats for a consistent set

FieldDescription

sourceBackupPlan SourceBackupPlan

sourceInstanceInfo SourceInstanceInfo

ConsistentSetStatus

(Appears on: ConsistentSet)

ConsistentSetStatus defines the observed state of ConsistentSet

FieldDescription

status Status

Status defines the status of ConsistentSet. When consistentSet is used in any Restore/ClusterRestore, it’s status will be in InUse

Scope defines scope of ConsistentSet i.e. Namespace or Cluster

StartTimestamp is the time when ConsistentSet was started.

completionTimestamp Kubernetes meta/v1.Time

CompletionTimestamp is the time when ConsistentSet operation finished.

BackupInfo contains the information of data restored done for each Backup available on the location specified. It contains a mapping of Backup-uuid and related data restored info.

Size is the aggregate size of the data restored back.

percentageCompletion byte

PercentageCompletion is the percentage of ConsistentSet operation completed.

Phase is the current phase of the ConsistentSet operation.

phaseStatus Status

PhaseStatus is the status of phase ConsistentSet operation going through.

Condition is the overall condition of ConsistentSet resource.

Duration is the amount of time the ConsistentSet process took to finish.

ContainerHookStatus

(Appears on: PodHookStatus)

ContainerHookStatus defines hook execution status for a containers

FieldDescription

containerName string

ContainerName is container in which hooks are executed.

preHookStatus PrePostHookStatus

PreHookStatus defines status for pre hooks

postHookStatus PrePostHookStatus

PostHookStatus defines status for post hooks

ContainerImage

(Appears on: ImageSnapshot)

FieldDescription

ID string

ID is the image ID to uniquely identify the image

registry string

Registry of the container image

repository string

Repository of the container image

image string

Image is the name of the container image

backupImageFQDN string

BackupImageFQDN is the actual image name provided in resource spec at the time of backup

tag string

Tag is the image tag of the container image

newTag string

NewTag is populated when the Tag exists on the repo with a different sha in case of restore

sha string

Sha is the sha digest of the container image

imagePullSecrets []ImagePullSecret

ImagePullSecrets defines imagePullSecrets and resource who used these imagePullSecrets

warnings []string

Warnings is the list of warnings captured during image backup or restore of an application

ContinuousRestoreConfig

(Appears on: PolicySpec)

FieldDescription

consistentSets int

ConsistentSets is the number of ConsistentSets to be retained for each Backup

ContinuousRestoreConfigInfo

(Appears on: BackupPlanSpec, ClusterBackupPlanSpec)

ContinuousRestoreConfigInfo defines the Continuous Restore instances info which will be used for Continuous Restore operation

FieldDescription

continuousRestoreInstances []ContinuousRestoreInstance

ContinuousRestoreInstances defines the list of Continuous Restore instances which will perform the Continuous Restore operation

ContinuousRestoreInstance

(Appears on: ContinuousRestoreConfigInfo)

ContinuousRestoreInstance defines details of Continuous Restore for InstanceID specified

FieldDescription

instanceID string

InstanceID is the unique Instance ID of the Continuous Restore Service to be used for Continuous Restore

continuousRestorePolicy Kubernetes core/v1.ObjectReference

ContinuousRestorePolicy is the object reference to the Continuous Restore Policy to be used for Continuous Restore

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ContinuousRestorePlan

ContinuousRestorePlan is the Schema for the ContinuousRestorePlan API

FieldDescription

Refer to the Kubernetes API documentation for the fields of the metadata field.

continuousRestorePolicy Kubernetes core/v1.ObjectReference

ContinuousRestorePolicy specifies the object references of ContinuousRestore policy

Target specifies the object references of target used

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

continuousRestorePolicy Kubernetes core/v1.ObjectReference

ContinuousRestorePolicy specifies the object references of ContinuousRestore policy

Target specifies the object references of target used

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

continuousRestorePolicy Kubernetes core/v1.ObjectReference

ContinuousRestorePolicy specifies the object references of ContinuousRestore policy

Target specifies the object references of target used

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

continuousRestorePolicy Kubernetes core/v1.ObjectReference

ContinuousRestorePolicy specifies the object references of ContinuousRestore policy

Target specifies the object references of target used

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ContinuousRestorePlanCondition

(Appears on: ContinuousRestorePlanStatus)

ContinuousRestorePlanCondition specifies the current condition of a ContinuousRestorePlan resource.

FieldDescription

status Status

Status is the status of the condition.

Timestamp is the time a condition occurred.

reason string

A brief message indicating details about why the component is in this condition.

Phase defines the current phase of the controller.

ContinuousRestorePlanSpec

(Appears on: ContinuousRestorePlan)

ContinuousRestorePlanSpec defines the desired state of ContinuousRestorePlan

FieldDescription

continuousRestorePolicy Kubernetes core/v1.ObjectReference

ContinuousRestorePolicy specifies the object references of ContinuousRestore policy

Target specifies the object references of target used

transformComponents TransformComponents

TransformComponents specifies the transformation configuration for PVCs both in custom and helm charts

ContinuousRestorePlanStatus

(Appears on: ContinuousRestorePlan)

ContinuousRestorePlanStatus defines the observed state of ContinuousRestorePlan

FieldDescription

Condition is the current condition of a ContinuousRestorePlan.

status Status

Status defines the status of the ContinuousRestorePlan resource as per the status of target

consistentSetInfo []ConsistentSetInfo

ConsistentSetInfo is the list of ConsistentSet related info for the number of ConsistentSet defined

ContinuousRestoreStatus

(Appears on: BackupPlanStatus, ClusterBackupPlanStatus)

ContinuousRestoreStatus specifies the details of Continuous Restore operation status of an instance

FieldDescription

continuousRestoreEnabled bool

ContinuousRestoreEnabled denotes if the Continuous Restore service is actually enabled on the ContinuousRestore site

continuousRestoreSiteStatus Status

ContinuousRestoreSiteStatus is the current Status of ContinuousRestore service Available/Unavailable. It is updated as per the heartbeat of ContinuousRestore service

lastConsistentSetCreationTimestamp Kubernetes meta/v1.Time

LastConsistentSetCreationTimestamp is the creation time stamp of the last ConsistentSet created for this BackupPlan/ClusterBackupPlan

lastSuccessfulConsistentSetTimestamp Kubernetes meta/v1.Time

LastSuccessfulConsistentSetTimestamp is the completion timestamp of the last successful ScanSet created for this BackupPlan/ClusterBackupPlan

numAvailableConsistentSet int

NumAvailableConsistentSet is the number of available ConsistentSets for this BackupPlan/ClusterBackupPlan on ContinuousRestore site

continuousRestorePlan string

ContinuousRestorePlan denotes the name of ContinuousRestorePlan created for this BackupPlan/ClusterBackupPlan on the ContinuousRestore site

CronSpec

(Appears on: SchedulePolicy)

CronSpec defines the Schedule string and the cronjob reference. The Schedule string will only be visible to the user to be configured, the reference will be set by the controller Deprecated: Instead of using single cron string, schedule policy will use list of cron string

FieldDescription

schedule string

Crons

(Appears on: PolicySpec)

Crons defines the list of Schedule string and the cronjob references. The list of Schedule string will only be visible to the user to be configured, and the references will be set by the controller

FieldDescription

schedule []string

Custom

(Appears on: RestoreCustom, Snapshot)

Custom defines the snapshot of Custom defined application.

FieldDescription

resources []Resource

Resources defines the Kubernetes resources found from Custom application.

dataSnapshots []DataSnapshot

DataSnapshot specifies the Snapshot of the Volumes resources in the Custom defined application.

warnings []string

Warnings is the list of warnings captured during backup or restore of an application

CustomSelector

(Appears on: BackupPlanComponents)

CustomSelector defines custom resource selection using SelectResources which defines include resources & ExcludeResourcesspecify resource exclusion based on Label based & GVK based selection

FieldDescription

selectResources ResourceSelector

SelectResources specify resource selection based on LabelSelector & GVKSelector

excludeResources ResourceSelector

ExcludeResources specify resource exclusion based on LabelSelector & GVKSelector

CustomTransform

(Appears on: TransformComponents)

CustomTransform specifies transformation configuration for Custom label-based resources

FieldDescription

transformName string

TransformName specifies the name of transformation

resources Resource

Resources specifies the resources for which transformation needs to be applied

jsonPatches []Patch

JSONPatches specifies the JSON patches to be applied

DataSnapshot

(Appears on: Custom, Helm, Operator)

DataSnapshot defines Snapshot of a Persistent Volume

FieldDescription

backupType BackupType

BackupType is the type of Volume backup in the sequence of backups.

location string

Location is the absolute path of qcow2 image of a volume in the target.

persistentVolumeName string

PersistentVolumeName is the name of PersistentVolume which is bound to PersistentVolumeClaim

persistentVolumeMetadata string

PersistentVolumeMetadata is the metadata of PersistentVolume which is bound to PersistentVolumeClaim.

persistentVolumeClaimName string

PersistentVolumeClaimName is the name of PersistentVolumeClaim which is bound to Volume.

persistentVolumeClaimMetadata string

PersistentVolumeClaimMetadata is the metadata of PersistentVolumeClaim which is bound to Volume(Deprecated).

operatorResourceVolume bool

OperatorResourceVolume will be true for the PVC created by the operator resource.

volumeSnapshot VolumeSnapshot

VolumeSnapshot specifies the CSI snapshot of a Persistent Volume.

PVSize is the actual size of the persistent volume for which backup is happening.

SnapshotSize is the size of the volume snapshot of a Persistent Volume.

Size is the size of qcow2 created/restored in backup/restore.

uploaded bool

Uploaded is to imply whether volume snapshot taken is uploaded to target.

error string

Error is the error occurred while backing up data component if any.

podContainersMap []PodContainers

PodContainersMap is the set of Pod-Containers which share Persistent Volume.

conditions []Conditions

Conditions are the current statuses for backup and restore PVCs.

DayOfWeek (string alias)

(Appears on: RetentionConfig)

Encryption

(Appears on: BackupPlanSpec, BackupStats, ClusterBackupPlanSpec, ClusterBackupStats, ClusterRestoreSpec, RestoreSpec)

Encryption defines encryption secret to encrypt/decrypt backup data on target

FieldDescription

EncryptionSecret is object ref of a secret which contains encryption key for backup encryption

GVKR

(Appears on: ImagePullSecret)

GVKR defines the Kubernetes resource type and name

FieldDescription

groupVersionKind GroupVersionKind

GroupVersionKind specifies GVK uniquely representing particular resource type.

resource string

Resource specifies resource name

GroupVersionKind

(Appears on: GVKR, Owner, Resource, TransformationError)

GroupVersionKind defines the Kubernetes resource type

FieldDescription

group string

version string

kind string

Helm

(Appears on: Operator, RestoreHelm, Snapshot)

Helm defines the snapshot of application defined by a Helm.

FieldDescription

release string

Release string is the name of release

newRelease string

NewRelease string is the new release name which will get used while validation and restore process

revision int32

Revision defines the version of deployed release backed up

resource Resource

Deprecated: Resource is the captured GVK (secret or configmap) and corresponding object names slice.

resources []Resource

Resources are the helm release resources with their GVK and Name

storageBackend HelmStorageBackend

StorageBackend is the enum which can be either configmaps and secrets

version HelmVersion

Version represents the Helm binary version used at the time of snapshot

dataSnapshots []DataSnapshot

DataSnapshot specifies the Snapshot of the Volumes defined in the helm chart resources.

warnings []string

Warnings is the list of warnings captured during backup or restore of an application