BackupConfigArgs

data class BackupConfigArgs(val allNamespaces: Output<Boolean>? = null, val encryptionKey: Output<EncryptionKeyArgs>? = null, val includeSecrets: Output<Boolean>? = null, val includeVolumeData: Output<Boolean>? = null, val selectedApplications: Output<NamespacedNamesArgs>? = null, val selectedNamespaces: Output<NamespacesArgs>? = null) : ConvertibleToJava<BackupConfigArgs>

BackupConfig defines the configuration of Backups created via this BackupPlan.

Constructors

Link copied to clipboard
fun BackupConfigArgs(allNamespaces: Output<Boolean>? = null, encryptionKey: Output<EncryptionKeyArgs>? = null, includeSecrets: Output<Boolean>? = null, includeVolumeData: Output<Boolean>? = null, selectedApplications: Output<NamespacedNamesArgs>? = null, selectedNamespaces: Output<NamespacesArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): BackupConfigArgs

Properties

Link copied to clipboard
val allNamespaces: Output<Boolean>? = null

If True, include all namespaced resources

Link copied to clipboard
val encryptionKey: Output<EncryptionKeyArgs>? = null

This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.

Link copied to clipboard
val includeSecrets: Output<Boolean>? = null

This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False

Link copied to clipboard
val includeVolumeData: Output<Boolean>? = null

This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False

Link copied to clipboard

If set, include just the resources referenced by the listed ProtectedApplications.

Link copied to clipboard
val selectedNamespaces: Output<NamespacesArgs>? = null

If set, include just the resources in the listed namespaces.