Skip to content

Commit

Permalink
fix: typo fix (#158)
Browse files Browse the repository at this point in the history
Signed-off-by: Said Sef <saidsef@gmail.com>
  • Loading branch information
saidsef authored Jul 24, 2024
1 parent 6d8e009 commit fb7e2cd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 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.2"
version: &version "0.13.3"
appVersion: *version
kubeVersion: ">= 1.28"
home: https://github.com/saidsef/argocd-applicationsets-services
Expand All @@ -23,8 +23,8 @@ sources:
annotations:
artifacthub.io/license: "Apache-2.0"
artifacthub.io/changes: |
- kind: changed
description: Update labels branch name to appset branch slug
- kind: fixed
description: fixed a typo
artifacthub.io/links: |
- name: README
url: https://raw.githubusercontent.com/saidsef/argocd-applicationsets-services/main/README.md
Expand Down
4 changes: 2 additions & 2 deletions charts/applicationset/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# argocd-applicationsets-services

![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)
![Version: 0.13.3](https://img.shields.io/badge/Version-0.13.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.3](https://img.shields.io/badge/AppVersion-0.13.3-informational?style=flat-square)

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

Expand Down Expand Up @@ -44,4 +44,4 @@ Kubernetes: `>= 1.28`
| repos | object | `{"github":[{"images":["docker.io/saidsef/node-webserver:{{branch}}"],"name":"node-webserver"},{"name":"alpine-jenkins-dockerfile","path":"deployment/preview"},{"images":["docker.io/saidsef/aws-kinesis-local:{{branch}}"],"name":"aws-kinesis-local"},{"images":["docker.io/saidsef/aws-dynamodb-local:{{branch}}"],"name":"aws-dynamodb-local"},{"name":"tika-document-to-text","path":"deployment/preview"},{"images":["docker.io/saidsef/k8s-spot-termination-notice:merge"],"name":"k8s-spot-termination-notice"},{"name":"scapy-containerised","path":"charts/scapy","values":{"image":{"tag":"{{branch}}"}}},{"chart":"reverse-geocoding","name":"faas-reverse-geocoding","parameters":[{"name":"image.tag","value":"{{branch}}"},{"name":"ingress.enabled","value":"true"},{"name":"ingress.enabled","value":"true"},{"name":"ingress.hosts[0].host","value":"{{branch}}"}],"repoUrl":"https://saidsef.github.io/faas-reverse-geocoding"}],"gitlab":{}}` | List of repo names and override images for preview environment to dynamically pass the branch of the pull request head use '{{branch}}' variable see: https://argocd-applicationset.readthedocs.io/en/stable/Generators-Pull-Request/#template |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
4 changes: 2 additions & 2 deletions charts/applicationset/templates/github-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: '{{ required "A valid repo name is required" $repo.name | trunc 40 | trimSuffix "-" }}-github-{{ $name }}'
namespace: {{ required "A valied namespace is required" $namespace | replace "." "-" }}
namespace: {{ required "A valid namespace is required" $namespace | replace "." "-" }}
labels:
app.kubernetes.io/name: {{ $repo.name }}
app.kubernetes.io/platform: 'github'
Expand All @@ -40,7 +40,7 @@ spec:
owner: {{ required "A valid repo organization / owner is required" $github.owner }}
repo: {{ required "A valid repo name is required" $repo.name }}
labels:
- {{ required "A valied label(s) for PRs is required" (coalesce $github.label $globals.label) }}
- {{ required "A valid label(s) for PRs is required" (coalesce $github.label $globals.label) }}
{{- if and ($github.secretName) ($github.secretKey) }}
tokenRef:
secretName: {{ $github.secretName }}
Expand Down
4 changes: 2 additions & 2 deletions charts/applicationset/templates/gitlab-mr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: '{{ required "A valid repo name is required" $repo.name | trunc 40 | trimSuffix "-" }}-gitlab-{{ $name }}'
namespace: {{ required "A valied namespace is required" $namespace | replace "." "-" }}
namespace: {{ required "A valid namespace is required" $namespace | replace "." "-" }}
labels:
app.kubernetes.io/name: {{ $repo.name }}
app.kubernetes.io/platform: 'gitlab'
Expand All @@ -39,7 +39,7 @@ spec:
project: {{ coalesce $repo.project $gitlab.group | required "A valid repo project / group ID is required" | squote}}
pullRequestState: 'opened'
labels:
- {{ required "A valied label(s) for PRs is required" (coalesce $gitlab.label $globals.label) }}
- {{ required "A valid label(s) for PRs is required" (coalesce $gitlab.label $globals.label) }}
{{- if and ($gitlab.secretName) ($gitlab.secretKey) }}
tokenRef:
secretName: {{ $gitlab.secretName }}
Expand Down

0 comments on commit fb7e2cd

Please sign in to comment.