Skip to content

Commit f881184

Browse files
author
lamai93
committed
Added labels.
1 parent 5aef8d6 commit f881184

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reboot.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ func runVolumeInspector(ctx context.Context, kube kubernetes.Interface, ns, name
106106
pvcspec := corev1.PersistentVolumeClaim{
107107
ObjectMeta: metav1.ObjectMeta{
108108
Name: claimname,
109+
Labels: map[string]string{
110+
"app": "arangodb",
111+
"rebooted": "yes",
112+
},
109113
},
110114
Spec: corev1.PersistentVolumeClaimSpec{
111115
AccessModes: []corev1.PersistentVolumeAccessMode{corev1.ReadWriteOnce},

0 commit comments

Comments
 (0)