feat: ArgoCD HA chart reusing existing charts

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>
This commit is contained in:
Carlos Juan Gómez Peñalver 2020-02-06 22:07:24 +00:00
parent 9dd063c62f
commit 4e32ebe237
7 changed files with 109 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View file

@ -0,0 +1,17 @@
apiVersion: v1
appVersion: "1.4.2"
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd-ha
version: 1.7.3
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:
- argoproj
- argocd
- gitops
- ha
maintainers:
- name: alexec
- name: alexmt
- name: jessesuen
- name: seanson

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,9 @@
dependencies:
- name: argo-cd
repository: https://argoproj.github.io/argo-helm
version: 1.7.3
- name: redis-ha
repository: https://kubernetes-charts.storage.googleapis.com
version: 3.3.1
digest: sha256:8bcefd438f02d03ce12c76abb4bcb4a7ab1cf5005c3d4bbd099ca468733490e2
generated: "2020-02-06T21:26:42.464540196Z"

View file

@ -0,0 +1,8 @@
dependencies:
- name: argo-cd
version: 1.7.3
repository: https://argoproj.github.io/argo-helm
- name: redis-ha
version: 3.3.1
# version: 4.3.3
repository: https://kubernetes-charts.storage.googleapis.com

View file

@ -0,0 +1,53 @@
argo-cd:
installCRDs: false
controller:
extraArgs:
sentinel=argocd-redis-ha-announce-0:
sentinel=argocd-redis-ha-announce-1:
sentinel=argocd-redis-ha-announce-2:
repoServer:
replicas: 2
extraArgs:
sentinel=argocd-redis-ha-announce-0:
sentinel=argocd-redis-ha-announce-1:
sentinel=argocd-redis-ha-announce-2:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: argocd-repo-server
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 100
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: argocd-repo-server
topologyKey: kubernetes.io/hostname
server:
replicas: 2
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: argocd-server
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 100
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: argocd-server
topologyKey: kubernetes.io/hostname
redis:
enabled: false
redis-ha:
replicas: 3
persistentVolume:
enabled: false
redis:
masterGroupName: argocd
config:
save: "\"\""