add app argocd kustomization

This commit is contained in:
2024-07-14 18:59:54 +10:00
parent bb50ea33f1
commit c1305ea2c5
4 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
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

@@ -0,0 +1,49 @@
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

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

49
apps/argocd/env/k3s-cluster/values.yaml vendored Normal file
View File

@@ -0,0 +1,49 @@
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