@@ -470,7 +470,7 @@ func (r *Reconciler) reconcileMovePGDataDir(ctx context.Context,
470470 jobSpec := & batchv1.JobSpec {
471471 Template : corev1.PodTemplateSpec {
472472 ObjectMeta : metav1.ObjectMeta {Labels : labels , Annotations : map [string ]string {
473- naming .DefaultContainerLabel : naming .ContainerJobMovePGDataDir ,
473+ naming .DefaultContainerAnnotation : naming .ContainerJobMovePGDataDir ,
474474 }},
475475 Spec : corev1.PodSpec {
476476 // Set the image pull secrets, if any exist.
@@ -589,7 +589,7 @@ func (r *Reconciler) reconcileMoveWALDir(ctx context.Context,
589589 jobSpec := & batchv1.JobSpec {
590590 Template : corev1.PodTemplateSpec {
591591 ObjectMeta : metav1.ObjectMeta {Labels : labels , Annotations : map [string ]string {
592- naming .DefaultContainerLabel : naming .ContainerJobMovePGWALDir ,
592+ naming .DefaultContainerAnnotation : naming .ContainerJobMovePGWALDir ,
593593 }},
594594 Spec : corev1.PodSpec {
595595 // Set the image pull secrets, if any exist.
@@ -713,7 +713,7 @@ func (r *Reconciler) reconcileMoveRepoDir(ctx context.Context,
713713 jobSpec := & batchv1.JobSpec {
714714 Template : corev1.PodTemplateSpec {
715715 ObjectMeta : metav1.ObjectMeta {Labels : labels , Annotations : map [string ]string {
716- naming .DefaultContainerLabel : naming .ContainerJobMovePGBackRestRepoDir ,
716+ naming .DefaultContainerAnnotation : naming .ContainerJobMovePGBackRestRepoDir ,
717717 }},
718718 Spec : corev1.PodSpec {
719719 // Set the image pull secrets, if any exist.
0 commit comments