Skip to content
Snippets Groups Projects

Change clone labels to annotations

Merged Vineet Reddy Rajula requested to merge clone-label-annotation into master
2 files
+ 6
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -457,7 +457,7 @@ var _ = Describe("DrupalSite controller", func() {
By("Expecting the clone labels to be set on the cloned site")
Eventually(func() bool {
k8sClient.Get(ctx, types.NamespacedName{Name: keyClone.Name, Namespace: keyClone.Namespace}, &cr)
return (cr.Labels["clonedFrom"] == key.Name && cr.Labels["clonedOn"] != "")
return (cr.Annotations["clonedFrom"] == key.Name && cr.Annotations["clonedOn"] != "")
}, timeout, interval).Should(BeTrue())
// Check if the cloneFrom field is reset on the drupalSite
Loading