Documentation ¶
Index ¶
- func AddBackupCMToValues(values map[string]any, volumePath []string, mountPath []string) error
- func AddBackupScriptCM(svc *runtime.ServiceRuntime, comp common.Composite, script string) error
- func AddK8upBackup(ctx context.Context, svc *runtime.ServiceRuntime, comp common.InfoGetter) error
- func AddPVCAnnotationToValues(valueMap map[string]any, path ...string) error
- func AddPodAnnotationToValues(valueMap map[string]any, scriptName, fileExt string, path ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBackupCMToValues ¶
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
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 ¶
AddPVCAnnotationToValues adds the default exclude annotations to the PVCs via the release values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.