Reduce harbor resources

This commit is contained in:
2026-04-16 20:47:38 +08:00
parent 57f71cab43
commit ddc8ac5ced
215 changed files with 26771 additions and 463 deletions
@@ -0,0 +1,36 @@
suite: Auth ClusterRole
templates:
- auth/clusterrole.yaml
tests:
- it: creates a ClusterRole
asserts:
- hasDocuments:
count: 1
- isKind:
of: ClusterRole
- it: adds operator permissions to ClusterRole
values:
- ../.lint/operator.yaml
asserts:
- hasDocuments:
count: 1
- isKind:
of: ClusterRole
- matchSnapshot: {}
- it: sets extraLabels on ClusterRole
set:
extraLabels:
clusterRole:
foo: bar
baz: override-me
auth:
extraLabels:
clusterRole:
baz: overridden
asserts:
- equal:
path: metadata.labels.foo
value: bar
- equal:
path: metadata.labels.baz
value: overridden