File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 14
14
values :
15
15
fullnameOverride : helm-tester
16
16
serviceAccountName : helm-tester
17
+ image :
18
+ tag : 0.8.0-helm.3
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Flagger comes with a testing service that can run Helm tests when configured as
10
10
11
11
Create a test for the podinfo token API:
12
12
13
- ``` yaml
13
+ ``` yaml{11}
14
14
apiVersion: v1
15
15
kind: Pod
16
16
metadata:
@@ -43,7 +43,7 @@ Save the above file in `cluster/charts/podinfo/tests`.
43
43
44
44
Deploy the Helm test runner in the ` prod ` namespace:
45
45
46
- ` ` ` yaml
46
+ ``` yaml{7}
47
47
apiVersion: helm.fluxcd.io/v1
48
48
kind: HelmRelease
49
49
metadata:
60
60
values:
61
61
fullnameOverride: helm-tester
62
62
serviceAccountName: helm-tester
63
+ image:
64
+ tag: 0.8.0-helm.3
63
65
```
64
66
65
67
Apply changes:
89
91
url: http://helm-tester.prod/
90
92
timeout: 2m
91
93
metadata:
92
- type: "helm "
93
- cmd: "test podinfo --cleanup"
94
+ type: "helmv3 "
95
+ cmd: "test run podinfo --cleanup -n prod "
94
96
- name: load-test
95
97
url: http://load-tester.prod/
96
98
metadata:
You can’t perform that action at this time.
0 commit comments