mirror of
https://github.com/kubevela/kubevela.git
synced 2026-02-14 18:10:21 +00:00
add webhooks to the rollout plan and use AC as App snapshot (#1031)
* add webhooks * app controller change * add component revision and appconfig revision and test * solidify the component revision logic and fix component revisoin bugs * fix command cli e2e failure * fix the bug caused by rawExtention * fix UT test * retry on component not found * lint * revert component revision create order
This commit is contained in:
@@ -166,7 +166,8 @@ var _ = Describe("Versioning mechanism of components", func() {
|
||||
revisionNameV1 := cmpV1.Status.LatestRevision.Name
|
||||
By("Get corresponding ControllerRevision of Component v1")
|
||||
cr := &appsv1.ControllerRevision{}
|
||||
Expect(k8sClient.Get(ctx, client.ObjectKey{Namespace: namespace, Name: revisionNameV1}, cr)).Should(Succeed())
|
||||
Expect(k8sClient.Get(ctx,
|
||||
client.ObjectKey{Namespace: namespace, Name: revisionNameV1}, cr)).ShouldNot(HaveOccurred())
|
||||
By("Check revision seq number")
|
||||
Expect(cr.Revision).Should(Equal(int64(1)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user