docs: update Flux tutorial to latest version

This commit is contained in:
stefanprodan
2020-03-04 16:13:49 +02:00
parent f164eac58e
commit 8d9dde2dc7
2 changed files with 31 additions and 22 deletions
+5 -5
View File
@@ -30,13 +30,13 @@ Spec:
- name: "start gate"
type: confirm-rollout
url: http://flagger-loadtester.test/gate/approve
- name: "smoke test"
- name: "helm test"
type: pre-rollout
url: http://flagger-helmtester.kube-system/
url: http://flagger-helmtester.flagger/
timeout: 3m
metadata:
type: "helm"
cmd: "test podinfo --cleanup"
type: "helmv3"
cmd: "test podinfo -n test"
- name: "load test"
type: rollout
url: http://flagger-loadtester.test/
@@ -273,7 +273,7 @@ If you are using Helm v3, you'll have to create a dedicated service account and
timeout: 3m
metadata:
type: "helmv3"
cmd: "test run {{ .Release.Name }} --timeout 3m -n {{ .Release.Namespace }}"
cmd: "test {{ .Release.Name }} --timeout 3m -n {{ .Release.Namespace }}"
```
As an alternative to Helm you can use the [Bash Automated Testing System](https://github.com/bats-core/bats-core) to run your tests.