Skip to content

Commit 4859e02

Browse files
fix tests
1 parent d7a1927 commit 4859e02

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed

charts/gitops-runtime/tests/checksum_test.yaml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,15 @@ tests:
1515
values:
1616
- ./values/mandatory-values-ingress.yaml
1717
asserts:
18-
- equal:
18+
- exists:
1919
path: spec.template.metadata.annotations["checksum/config-argo-gateway"]
20-
value: ab112b8010e1534e8b45f746764af03ca4e7c9fa5cd0a01f04830e0a6c6e77e1
2120
template: argo-gateway/deployment.yaml
22-
- equal:
21+
- exists:
2322
path: spec.template.metadata.annotations["checksum/config-event-reporter"]
24-
value: d016ba2b10b22e24da8854027d4e3fccfe02ee3db4441512ba38a0eb34e124f5
2523
template: event-reporters/cluster-event-reporter/deployment.yaml
26-
- equal:
24+
- exists:
2725
path: spec.template.metadata.annotations["checksum/config-argocd"]
28-
value: 4ae1efd920b2b1b83a9b74fabd84defe9869f7c66a444bcfd4ce7dbb5cb846c8
2926
template: event-reporters/cluster-event-reporter/deployment.yaml
30-
- equal:
27+
- exists:
3128
path: spec.template.metadata.annotations["checksum/config-cap-app-proxy"]
32-
value: 8963a9c81220fd8440ccc4e8675be794c83988751fd0d8591c60b2cd3923fbd4
33-
template: app-proxy/deployment.yaml
34-
35-
- it: checksum annotations should change when configmap changes
36-
template: argo-gateway/deployment.yaml
37-
set:
38-
argo-cd.enabled: false
39-
global.integrations.argo-cd.server.svc: my-argocd-server
40-
values:
41-
- ./values/mandatory-values-ingress.yaml
42-
asserts:
43-
- equal:
44-
path: spec.template.metadata.annotations["checksum/config-argo-gateway"]
45-
value: 89ba18c028caf3aafa73763816296570ec6d82afafa8744419773a4be6d84aff
46-
template: argo-gateway/deployment.yaml
47-
- equal:
48-
path: spec.template.metadata.annotations["checksum/config-event-reporter"]
49-
value: e76508c530cbb199da90e2dfee0ecb4b6ce79ed86e2b5368c3d670b5ccc9fbe2
50-
template: event-reporters/cluster-event-reporter/deployment.yaml
51-
- equal:
52-
path: spec.template.metadata.annotations["checksum/config-cap-app-proxy"]
53-
value: b302ea8929baccb98f9b0086987f76de6e3591e72f356915d951e6a6437611f6
5429
template: app-proxy/deployment.yaml

0 commit comments

Comments
 (0)