Skip to content

Commit

Permalink
pass service instead of path
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jul 15, 2024
1 parent e849e2a commit 7f4431d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .argocd/templates/app.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Values.destination.name }}-app
name: {{ .Values.service }}
namespace: {{ .Release.Namespace }}
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: {{ .Values.project }}
destination:
namespace: {{ .Values.destination.namespace }}
name: {{ .Values.destination.name }}-svc
name: {{ .Values.destination.name }}
source:
repoURL: {{ .Values.source.repoURL }}
path: {{ .Values.source.path }}
path: services/{{ .Values.service }}
targetRevision: {{ .Values.source.targetRevision }}
helm:
version: v3
Expand Down
2 changes: 1 addition & 1 deletion .argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# parameters that pass in files from the config folder in each service.

project: ""
service: ""
destination:
name: ""
namespace: ""
source:
repoURL: ""
targetRevision: ""
path: ""

0 comments on commit 7f4431d

Please sign in to comment.