Skip to content

Commit 8f5d092

Browse files
committed
Update helm tester to Helm v3
1 parent 8d96191 commit 8f5d092

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

cluster/releases/helm-tester.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ spec:
1414
values:
1515
fullnameOverride: helm-tester
1616
serviceAccountName: helm-tester
17+
image:
18+
tag: 0.8.0-helm.3

docs/test/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Flagger comes with a testing service that can run Helm tests when configured as
1010

1111
Create a test for the podinfo token API:
1212

13-
```yaml
13+
```yaml{11}
1414
apiVersion: v1
1515
kind: Pod
1616
metadata:
@@ -43,7 +43,7 @@ Save the above file in `cluster/charts/podinfo/tests`.
4343

4444
Deploy the Helm test runner in the `prod` namespace:
4545

46-
```yaml
46+
```yaml{7}
4747
apiVersion: helm.fluxcd.io/v1
4848
kind: HelmRelease
4949
metadata:
@@ -60,6 +60,8 @@ spec:
6060
values:
6161
fullnameOverride: helm-tester
6262
serviceAccountName: helm-tester
63+
image:
64+
tag: 0.8.0-helm.3
6365
```
6466

6567
Apply changes:
@@ -89,8 +91,8 @@ spec:
8991
url: http://helm-tester.prod/
9092
timeout: 2m
9193
metadata:
92-
type: "helm"
93-
cmd: "test podinfo --cleanup"
94+
type: "helmv3"
95+
cmd: "test run podinfo --cleanup -n prod"
9496
- name: load-test
9597
url: http://load-tester.prod/
9698
metadata:

0 commit comments

Comments
 (0)