add script to install argocd using helm

This commit is contained in:
2024-07-14 19:26:47 +10:00
parent 9460b6ae45
commit 5faf428bf1
6 changed files with 13 additions and 75 deletions

View File

@@ -1,10 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: argo-cd
repo: oci://ghcr.io/argoproj/argo-helm
version: 7.3.6
releaseName: argocd
# apiVersions:
# - monitoring.coreos.com/v1
valuesFile: values.yaml

View File

@@ -1,49 +0,0 @@
global:
domain: argocd.cluster.edward.sydney
configs:
params:
server.insecure: true
controller:
replicas: 1
redis-ha:
enabled: true
server:
serviceType: NodePort
httpNodePort: 30080
httpsNodePort: 30443
autoscaling:
enabled: true
minReplicas: 2
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
# nginx.ingress.kubernetes.io/use-regex: "true"
ingressClassName: nginx
hostname: argocd.cluster.edward.sydney
extraTls:
- hosts:
- argocd.cluster.edward.sydney
# Based on the ingress controller used secret might be optional
secretName: wildcard-tls
ingressGrpc:
enabled: true
ingressClassName: contour-internal
extraTls:
- hosts:
- grpc.argocd.cluster.edward.sydney
secretName: wildcard-tls
repoServer:
autoscaling:
enabled: true
minReplicas: 2
applicationSet:
replicas: 2

View File

@@ -1,4 +0,0 @@
#!/bin/bash
set -e
kubectl apply -k ./kustomization.yaml

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

View File

@@ -18,13 +18,13 @@ server:
autoscaling:
enabled: true
minReplicas: 2
# ingress:
# enabled: true
# annotations:
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
# nginx.ingress.kubernetes.io/use-regex: "true"
# ingress:
# enabled: true
# annotations:
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
# nginx.ingress.kubernetes.io/use-regex: "true"
ingressClassName: nginx
hostname: argocd.cluster.edward.sydney
extraTls:

View File

@@ -0,0 +1,6 @@
#!/bin/bash
set -e
kubectl create namespace argocd || echo "Namespace argocd already exists"
helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists"
helm install argocd -n argocd -f argocd-values.yaml argo/argocd --version 7.3.6