internal/utils: Add unit tests
Add unit tests for various utils functions. Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
17
internal/utils/testdata/components-without-crds.yaml
vendored
Normal file
17
internal/utils/testdata/components-without-crds.yaml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: flux-system
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: kustomize-controller
|
||||
namespace: flux-system
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: notification-controller
|
||||
namespace: flux-system
|
||||
Reference in New Issue
Block a user