Documentation
¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "hcpetcdbackup" // Labels used on backup Jobs. LabelApp = "app" LabelName = "etcd-backup" // LabelBackupName is the label key for the backup CR name on Jobs. LabelBackupName = "hypershift.openshift.io/backup-name" // LabelHCPNamespace is the label key for the HCP namespace on Jobs. LabelHCPNamespace = "hypershift.openshift.io/hcp-namespace" // RBACName is the name of the Role and RoleBinding created in HCP namespaces. RBACName = "etcd-backup-job" // NetworkPolicyName is the name of the NetworkPolicy created in HCP namespaces. NetworkPolicyName = "allow-etcd-backup" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HCPEtcdBackupReconciler ¶
type HCPEtcdBackupReconciler struct {
client.Client
OperatorNamespace string
ReleaseProvider releaseinfo.ProviderWithOpenShiftImageRegistryOverrides
HypershiftOperatorImage string
MaxBackupCount int
}
HCPEtcdBackupReconciler reconciles HCPEtcdBackup resources by orchestrating etcd snapshot and upload Jobs in the HyperShift Operator namespace.
func (*HCPEtcdBackupReconciler) SetupWithManager ¶
func (r *HCPEtcdBackupReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.