backup

package
v4.66.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBackupCMToValues

func AddBackupCMToValues(values map[string]any, volumePath []string, mountPath []string) error

AddBackupCMToValues adds the volume mount for the given configMap to the helm values. volumePath and mountPath specify the value path within the values map.

func AddK8upBackup

func AddK8upBackup(ctx context.Context, svc *runtime.ServiceRuntime, comp common.InfoGetter) error

AddK8upBackup creates an S3 bucket and a K8up schedule according to the composition spec.

func AddPVCAnnotationToValues

func AddPVCAnnotationToValues(valueMap map[string]any, path ...string) error

AddPVCAnnotationToValues adds the default exclude annotations to the PVCs via the release values.

func AddPodAnnotationToValues

func AddPodAnnotationToValues(valueMap map[string]any, scriptName, fileExt string, path ...string) error

AddPodAnnotationToValues add the annotations to trigger the pre-backup script via the release values.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL