Skip to content

Commit 1b011d7

Browse files
feat: checksum annotations (#938) (#942)
1 parent 7f6b6da commit 1b011d7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json
2+
suite: checksum tests
3+
templates:
4+
- event-reporters/**/deployment.yaml
5+
- event-reporters/**/configmap.yaml
6+
- argo-gateway/deployment.yaml
7+
- argo-gateway/configmap.yaml
8+
- app-proxy/deployment.yaml
9+
- app-proxy/config.yaml
10+
- _components/cap-app-proxy/_deployment.yaml
11+
- _components/cap-app-proxy/_config.yaml
12+
- codefresh-cm.yaml
13+
tests:
14+
- it: default checksum annotations is present
15+
values:
16+
- ./values/mandatory-values-ingress.yaml
17+
asserts:
18+
- exists:
19+
path: spec.template.metadata.annotations["checksum/config-argo-gateway"]
20+
template: argo-gateway/deployment.yaml
21+
- exists:
22+
path: spec.template.metadata.annotations["checksum/config-event-reporter"]
23+
template: event-reporters/cluster-event-reporter/deployment.yaml
24+
- exists:
25+
path: spec.template.metadata.annotations["checksum/config-argocd"]
26+
template: event-reporters/cluster-event-reporter/deployment.yaml
27+
- exists:
28+
path: spec.template.metadata.annotations["checksum/config-cap-app-proxy"]
29+
template: app-proxy/deployment.yaml

0 commit comments

Comments
 (0)