Skip to content

Commit

Permalink
feat: add ExternalSecret to sync wave
Browse files Browse the repository at this point in the history
Signed-off-by: ckav370 <[email protected]>
  • Loading branch information
ckav370 committed Jul 16, 2024
1 parent adb68bc commit 60a181a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkg/sync/sync_tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func init() {
"IngressClass",
"Ingress",
"APIService",
"ExternalSecrets",
}
for i, kind := range kinds {
// make sure none of the above entries are zero, we need that for custom resources
Expand Down
4 changes: 2 additions & 2 deletions pkg/sync/sync_tasks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
}

Expand Down

0 comments on commit 60a181a

Please sign in to comment.