diff --git a/charts/applicationset/Chart.yaml b/charts/applicationset/Chart.yaml index f64a1f5..3304825 100644 --- a/charts/applicationset/Chart.yaml +++ b/charts/applicationset/Chart.yaml @@ -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.25" +version: &version "0.9.1" appVersion: *version kubeVersion: ">= 1.23" home: https://github.com/saidsef/argocd-applicationsets-services @@ -23,7 +23,9 @@ annotations: artifacthub.io/license: "Apache-2.0" artifacthub.io/changes: | - kind: changed - description: Updated GitLab repoURL to also include GitLan API override + description: Updated to add AppSet name as suffix to GitHub and GitLab App names + - kind: changed + description: Renamed GitLab file from pr to mr as suffix artifacthub.io/links: | - name: README url: https://raw.githubusercontent.com/saidsef/argocd-applicationsets-services/main/README.md diff --git a/charts/applicationset/templates/github-pr.yml b/charts/applicationset/templates/github-pr.yml index 6a47bae..4127b34 100644 --- a/charts/applicationset/templates/github-pr.yml +++ b/charts/applicationset/templates/github-pr.yml @@ -19,7 +19,7 @@ apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: - name: '{{ required "A valid repo name is required" $repo.name }}-github' + name: '{{ required "A valid repo name is required" $repo.name }}-github-{{ $name }}' namespace: {{ required "A valied namespace is required" $namespace | replace "." "-" }} labels: app.kubernetes.io/name: {{ $repo.name }} diff --git a/charts/applicationset/templates/gitlab-pr.yml b/charts/applicationset/templates/gitlab-mr.yml similarity index 99% rename from charts/applicationset/templates/gitlab-pr.yml rename to charts/applicationset/templates/gitlab-mr.yml index 0efc9a9..ead2fbf 100644 --- a/charts/applicationset/templates/gitlab-pr.yml +++ b/charts/applicationset/templates/gitlab-mr.yml @@ -18,7 +18,7 @@ apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: - name: '{{ required "A valid repo name is required" $repo.name }}-gitlab' + name: '{{ required "A valid repo name is required" $repo.name }}-gitlab-{{ $name }}' namespace: {{ required "A valied namespace is required" $namespace | replace "." "-" }} labels: app.kubernetes.io/name: {{ $repo.name }}