Skip to content

Commit 9dd5215

Browse files
committed
refactor(pulsehub): use Git SHA for image tag via ArgoCD variable
1 parent 6406541 commit 9dd5215

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

applications/pulsehub.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@ kind: Application
33
metadata:
44
name: pulsehub
55
namespace: argocd
6-
annotations:
7-
argocd-image-updater.argoproj.io/image-list: pulsehub=fullstackjam/pulsehub
8-
argocd-image-updater.argoproj.io/pulsehub.helm.image-name: image.repository
9-
argocd-image-updater.argoproj.io/pulsehub.helm.image-tag: image.tag
10-
argocd-image-updater.argoproj.io/write-back-method: argocd
11-
argocd-image-updater.argoproj.io/git-branch: master
12-
argocd-image-updater.argoproj.io/update-strategy: newest-build
6+
137
spec:
148
project: default
159
source:
1610
repoURL: https://github.com/fullstackjam/pulsehub
1711
targetRevision: master
1812
path: helm/pulsehub
13+
helm:
14+
parameters:
15+
- name: image.tag
16+
value: $ARGOCD_APP_REVISION
1917
destination:
2018
name: in-cluster
2119
namespace: pulsehub

0 commit comments

Comments
 (0)