Added argocd wrapper chart to include global configuration of argocd

This commit is contained in:
2023-11-02 07:58:04 +01:00
parent 3c1284348f
commit e90a9f0fdf
7 changed files with 31 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
dependencies:
- name: argo-cd
repository: https://argoproj.github.io/argo-helm
version: 4.7.0
digest: sha256:d8223fd35aa43c41982fb7297275742f70a79c577eef667b1d928bcdb036f3df
generated: "2023-11-02T07:54:46.720255+01:00"
+8
View File
@@ -0,0 +1,8 @@
apiVersion: v2
name: argocd
version: 0.1.0
type: application
dependencies:
- name: argo-cd
version: 4.7.0
repository: https://argoproj.github.io/argo-helm
+19
View File
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
syncPolicy:
automated:
prune: true
destination:
namespace: argocd
server: https://kubernetes.default.svc
project: default
source:
path: argocd/app-of-apps/test
repoURL: https://git.2martens.de/2martens/cloud-configuration/
targetRevision: main
+30
View File
@@ -0,0 +1,30 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-server-ingress
namespace: argocd
annotations:
cert-manager.io/cluster-issuer: lets-encrypt
ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# If you encounter a redirect loop or are getting a 307 response code
# then you need to force the nginx ingress to connect to the backend using HTTPS.
#
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
spec:
ingressClassName: public
rules:
- host: argocd.2martens.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argo-cd-argocd-server
port:
name: https
tls:
- hosts:
- argocd.k8s.{{ .Values.environment }}.2martens.de
secretName: argocd-server-tls # as expected by argocd-server
+15
View File
@@ -0,0 +1,15 @@
argo-cd:
redis-ha:
enabled: true
controller:
replicas: 1
server:
replicas: 2
repoServer:
replicas: 2
applicationSet:
replicas: 2
View File
+1
View File
@@ -0,0 +1 @@
environment: test