migrate

package
v1.10.6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package migrate implements the "migrate" CLI subcommand for the Valkey operator. It is intended to run as a Helm pre-upgrade hook Job and ensures that all existing Valkey CRs carry the field defaults required by the current operator version.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Run executes the migrate subcommand. It lists all Valkey CRs cluster-wide and patches any that are missing field defaults introduced in the current operator version. Exits with a non-zero status code on any failure so the hook Job fails fast.

Types

This section is empty.

Jump to

Keyboard shortcuts

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