Skip to content

Commit

Permalink
Refactor Argo CD chart structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Sep 19, 2024
1 parent 3407231 commit 21161c7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions addons/argocd.yaml → addons/argo-cd.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: argocd
name: argo-cd
spec:
generators:
- git:
Expand All @@ -12,7 +12,7 @@ spec:

template:
metadata:
name: "argocd" # only management cluster
name: "argo-cd" # only management cluster
annotations:
notifications.argoproj.io/subscribe.on-sync-succeeded.slack: noti-argocd-{{env}}-addon
labels:
Expand All @@ -23,11 +23,11 @@ spec:
project: addons
destination:
name: "{{cluster}}"
namespace: argocd
namespace: argo-cd
source:
repoURL: https://github.com/opspresso/argocd-env-addons.git
targetRevision: HEAD
path: charts/argocd
path: charts/argo-cd
helm:
valueFiles:
- values.yaml
Expand Down
7 changes: 3 additions & 4 deletions charts/argocd/Chart.yaml → charts/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
apiVersion: v2
description: A Helm chart for Kubernetes
name: argocd
name: argo-cd
type: application
version: "6.7.2" # helm chart argocd version
version: "6.7.2" # helm chart argo-cd version

dependencies:
- name: argo-cd
alias: argocd
repository: https://argoproj.github.io/argo-helm
version: "6.7.2" # helm chart argocd version
version: "6.7.2" # helm chart argo-cd version

- name: raw
repository: https://charts.helm.sh/incubator
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
argocd:
fullnameOverride: argocd
argo-cd:
fullnameOverride: argo-cd

{% if argocd is defined %}
global:
Expand Down
4 changes: 2 additions & 2 deletions charts/argocd/values.yaml → charts/argo-cd/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
argocd:
fullnameOverride: argocd
argo-cd:
fullnameOverride: argo-cd

# global:
# podLabels:
Expand Down

0 comments on commit 21161c7

Please sign in to comment.