Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(example): interval requires count #2690

Merged
merged 2 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ assignees: ''
Checklist:

* [ ] I've included steps to reproduce the bug.
* [ ] I've inclued the version of argo rollouts.
* [ ] I've included the version of argo rollouts.

**Describe the bug**

Expand Down Expand Up @@ -49,4 +49,4 @@ kubectl logs -n argo-rollouts deployment/argo-rollouts | grep rollout=<ROLLOUTNA
<!-- Issue Author: Don't delete this message to encourage other users to support your issue! -->
**Message from the maintainers**:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
2 changes: 1 addition & 1 deletion examples/analysis-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
spec:
metrics:
- name: pass
count: 1
interval: 5s
failureLimit: 1
provider:
Expand All @@ -24,7 +25,6 @@ spec:
args: [exit 0]
restartPolicy: Never
backoffLimit: 0
count: 1
---
# This AnalysisTemplate will run a Kubernetes Job every 5 seconds, with a 50% chance of failure.
# When the number of accumulated failures exceeds failureLimit, it will cause the analysis run to
Expand Down
3 changes: 2 additions & 1 deletion examples/cluster-analysis-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
metrics:
- name: pass
count: 1
interval: 5s
failureLimit: 1
provider:
Expand All @@ -18,4 +19,4 @@ spec:
command: [sh, -c]
args: [exit 0]
restartPolicy: Never
backoffLimit: 0
backoffLimit: 0