Skip to content

Commit

Permalink
Merge pull request #21 from darkdoc/fix_argocd_resources
Browse files Browse the repository at this point in the history
Remove duplicate resources key in argocd manifest
  • Loading branch information
mbaldessari authored Nov 6, 2024
2 parents f8ea1a5 + 3ae65c9 commit 5e7c364
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
7 changes: 0 additions & 7 deletions templates/plumbing/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@ spec:
name: {{ $cmp.name }}
{{- end }}
{{- end }}
resources:
limits:
cpu: "1"
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
{{- if $.Values.clusterGroup.argoCD.resourceExclusions }}
resourceExclusions: {{- $.Values.clusterGroup.argoCD.resourceExclusions | toYaml | indent 2 }}
{{- end }}
Expand Down
11 changes: 11 additions & 0 deletions tests/argocd_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
suite: Test argocd with default values
templates:
- templates/plumbing/argocd.yaml
release:
name: release-test
tests:
- it: should contain argocd by default
documentIndex: 0
asserts:
- isKind:
of: ArgoCD

0 comments on commit 5e7c364

Please sign in to comment.