Skip to content

Commit

Permalink
chore: update labels branch name to appset branch slug (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
saidsef authored May 24, 2024
1 parent 12fd844 commit c15a8e4
Show file tree
Hide file tree
Showing 4 changed files with 5 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, a declarative, GitOps continuous delivery tool for Kubernetes
type: application
version: &version "0.13.1"
version: &version "0.13.2"
appVersion: *version
kubeVersion: ">= 1.28"
home: https://github.com/saidsef/argocd-applicationsets-services
Expand All @@ -23,10 +23,8 @@ sources:
annotations:
artifacthub.io/license: "Apache-2.0"
artifacthub.io/changes: |
- kind: added
description: "Kubernetes minimum version >= 1.28"
- kind: changed
description: Update dependencies ci tools
description: Update labels branch name to appset branch slug
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.13.1](https://img.shields.io/badge/Version-0.13.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.1](https://img.shields.io/badge/AppVersion-0.13.1-informational?style=flat-square)
![Version: 0.13.2](https://img.shields.io/badge/Version-0.13.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.2](https://img.shields.io/badge/AppVersion-0.13.2-informational?style=flat-square)

A Helm chart for ArgoCD ApplicationSets, a declarative, GitOps continuous delivery tool for Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion charts/applicationset/templates/github-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
name: {{ printf "%s-%shead_short_sha_7%s-%snumber%s-%s" $repo.name $dqf $dqb $dqf $dqb $name }}
labels:
app.kubernetes.io/name: {{ $repo.name }}
app.kubernetes.io/branch: {{ trunc 63 $branch | trimSuffix "-" }}
app.kubernetes.io/branch: {{ trunc 63 $branchSlug | trimSuffix "-" }}
app.kubernetes.io/created-by: 'applicationset'
annotations:
argocd-image-updater.argoproj.io/force-update: 'true'
Expand Down
2 changes: 1 addition & 1 deletion charts/applicationset/templates/gitlab-mr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
name: {{ printf "%s-%sbranch_slug%s-%snumber%s-%s" $repo.name $dqf $dqb $dqf $dqb $name}}
labels:
app.kubernetes.io/name: {{ $repo.name }}
app.kubernetes.io/branch: {{ trunc 63 $branch | trimSuffix "-" }}
app.kubernetes.io/branch: {{ trunc 63 $branchSlug | trimSuffix "-" }}
app.kubernetes.io/created-by: 'applicationset'
annotations:
argocd-image-updater.argoproj.io/force-update: 'true'
Expand Down

0 comments on commit c15a8e4

Please sign in to comment.