backup

package
v4.101.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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. It will mount the configmap under /scripts in the pod.

func AddBackupScriptCM added in v4.85.0

func AddBackupScriptCM(svc *runtime.ServiceRuntime, comp common.Composite, script string) error

AddBackupScriptCM will add a configmap containing the given script. This can then be used to mount into the resulting pod by whatever means applicable (helm values, pod-definition, etc)

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