From 2d991d2d281762a2c06dcc42dca9c09cd0f28ee4 Mon Sep 17 00:00:00 2001 From: cblain3 Date: Tue, 16 Jul 2024 12:52:32 +0100 Subject: [PATCH 1/4] feat: add ExternalSecret to sync wave task Signed-off-by: ckav370 --- pkg/sync/sync_tasks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/sync/sync_tasks.go b/pkg/sync/sync_tasks.go index f41946f6c..628b6fd1d 100644 --- a/pkg/sync/sync_tasks.go +++ b/pkg/sync/sync_tasks.go @@ -60,6 +60,7 @@ func init() { "IngressClass", "Ingress", "APIService", + "ExternalSecret", } for i, kind := range kinds { // make sure none of the above entries are zero, we need that for custom resources From 170ad217185ccefe50c44a385d1c4dc129ab8062 Mon Sep 17 00:00:00 2001 From: cblain3 Date: Tue, 16 Jul 2024 13:10:45 +0100 Subject: [PATCH 2/4] ckav370/add-external-secret-sync-wave: update failed tests Signed-off-by: ckav370 --- pkg/sync/sync_tasks_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sync/sync_tasks_test.go b/pkg/sync/sync_tasks_test.go index 201f77222..42e4c234d 100644 --- a/pkg/sync/sync_tasks_test.go +++ b/pkg/sync/sync_tasks_test.go @@ -13,8 +13,8 @@ import ( ) func Test_syncTasks_kindOrder(t *testing.T) { - assert.Equal(t, -35, kindOrder["Namespace"]) - assert.Equal(t, -1, kindOrder["APIService"]) + assert.Equal(t, -36, kindOrder["Namespace"]) + assert.Equal(t, -2, kindOrder["APIService"]) assert.Equal(t, 0, kindOrder["MyCRD"]) } From f360301f703dd8e16f1f36b27f371aff5752ceaf Mon Sep 17 00:00:00 2001 From: cblain3 Date: Tue, 16 Jul 2024 12:52:32 +0100 Subject: [PATCH 3/4] feat: add ExternalSecret to sync wave task Signed-off-by: ckav370 --- pkg/sync/sync_tasks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/sync/sync_tasks.go b/pkg/sync/sync_tasks.go index f41946f6c..628b6fd1d 100644 --- a/pkg/sync/sync_tasks.go +++ b/pkg/sync/sync_tasks.go @@ -60,6 +60,7 @@ func init() { "IngressClass", "Ingress", "APIService", + "ExternalSecret", } for i, kind := range kinds { // make sure none of the above entries are zero, we need that for custom resources From b8e8e49bf31929a7893ca955b2fae5a3466d53e1 Mon Sep 17 00:00:00 2001 From: cblain3 Date: Tue, 16 Jul 2024 13:10:45 +0100 Subject: [PATCH 4/4] ckav370/add-external-secret-sync-wave: update failed tests Signed-off-by: ckav370 --- pkg/sync/sync_tasks_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sync/sync_tasks_test.go b/pkg/sync/sync_tasks_test.go index 201f77222..42e4c234d 100644 --- a/pkg/sync/sync_tasks_test.go +++ b/pkg/sync/sync_tasks_test.go @@ -13,8 +13,8 @@ import ( ) func Test_syncTasks_kindOrder(t *testing.T) { - assert.Equal(t, -35, kindOrder["Namespace"]) - assert.Equal(t, -1, kindOrder["APIService"]) + assert.Equal(t, -36, kindOrder["Namespace"]) + assert.Equal(t, -2, kindOrder["APIService"]) assert.Equal(t, 0, kindOrder["MyCRD"]) }