Skip to content

Commit

Permalink
Added ArgoCD Application TrackingID annotation (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
saidsef authored Feb 5, 2023
1 parent 2e78787 commit 78e576d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 2 additions & 4 deletions charts/applicationset/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-applicationsets-services
description: A HELM Chart for ArgoCD ApplicationSets for Kubernetes
type: application
version: &version "0.8.9"
version: &version "0.8.10"
appVersion: *version
kubeVersion: ">= 1.23"
home: https://github.com/saidsef/argocd-applicationsets-services
Expand All @@ -23,9 +23,7 @@ annotations:
artifacthub.io/license: "Apache-2.0"
artifacthub.io/changes: |
- kind: added
description: Added allowed resources that can be deployed in namespaces
- kind: fixed
description: Fixed typo in GitHub PR URL
description: Added ArgoCD Application TrackingID annotation
artifacthub.io/links: |
- name: README
url: https://raw.githubusercontent.com/saidsef/argocd-applicationsets-services/main/README.md
Expand Down
2 changes: 1 addition & 1 deletion charts/applicationset/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# argocd-applicationsets-services

![Version: 0.8.9](https://img.shields.io/badge/Version-0.8.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.9](https://img.shields.io/badge/AppVersion-0.8.9-informational?style=flat-square)
![Version: 0.8.10](https://img.shields.io/badge/Version-0.8.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.10](https://img.shields.io/badge/AppVersion-0.8.10-informational?style=flat-square)

A HELM Chart for ArgoCD ApplicationSets for Kubernetes

Expand Down
3 changes: 2 additions & 1 deletion charts/applicationset/templates/github-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ spec:
argocd-image-updater.argoproj.io/write-back-method: 'argocd'
argocd.argoproj.io/application-set-refresh: "true"
argocd.argoproj.io/head: '{{ $dqf }}head_short_sha{{ $dqb }}'
argocd.argoproj.io/tracking-id: '{{$repo.name}}:{{ $dqf }}head_short_sha{{ $dqb }}'
link.argocd.argoproj.io/external-link: '{{ $pr }}/{{ $github.owner }}/{{or $repo.name $repo.path}}/pull/{{ $dqf }}number{{ $dqb }}'
notifications.argoproj.io/subscribe.on-deleted.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-deployed.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-health-degraded.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-sync-failed.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-sync-running.slack: '{{ $notificationChannel }}'
link.argocd.argoproj.io/external-link: "{{ $pr }}/{{ $github.owner }}/{{or $repo.name $repo.path}}/pull/{{ $dqf }}number{{ $dqb }}"
spec:
source:
{{- $localRepoUrl := printf "https://github.com/%s/%s.git" $github.owner $repo.name }}
Expand Down
3 changes: 2 additions & 1 deletion charts/applicationset/templates/gitlab-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ spec:
argocd-image-updater.argoproj.io/write-back-method: 'argocd'
argocd.argoproj.io/application-set-refresh: "true"
argocd.argoproj.io/head: '{{ $dqf }}head_short_sha{{ $dqb }}'
argocd.argoproj.io/tracking-id: '{{$repo.name}}:{{ $dqf }}head_short_sha{{ $dqb }}'
link.argocd.argoproj.io/external-link: '{{ $gitlab.api }}/{{ $gitlab.group }}/{{or $repo.name $repo.path}}/-/merge_requests/{{ $dqf }}number{{ $dqb }}'
notifications.argoproj.io/subscribe.on-deleted.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-deployed.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-health-degraded.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-sync-failed.slack: '{{ $notificationChannel }}'
notifications.argoproj.io/subscribe.on-sync-running.slack: '{{ $notificationChannel }}'
link.argocd.argoproj.io/external-link: "{{ $gitlab.api }}/{{ $gitlab.group }}/{{or $repo.name $repo.path}}/-/merge_requests/{{ $dqf }}number{{ $dqb }}"
spec:
source:
{{- $localRepoUrl := printf "https://gitlab.com/%s/%s.git" $gitlab.group $repo.name }}
Expand Down

0 comments on commit 78e576d

Please sign in to comment.