fix(argocd): switch to ingress-nginx, fix shared resource warning, add insecure mode

This commit is contained in:
2026-05-18 00:34:21 -05:00
parent 5a30521d66
commit 9cd9a30fbe
3 changed files with 44 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ spec:
repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
targetRevision: main
path: cluster/platform/argocd
directory:
exclude: "application.yaml"
destination:
server: https://kubernetes.default.svc
namespace: argocd

View File

@@ -0,0 +1,11 @@
# ------------------------------------------------------------------------------
# ArgoCD Server Parameters
# Sets server.insecure=true so TLS is terminated at ingress, not argocd-server
# ------------------------------------------------------------------------------
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cmd-params-cm
namespace: argocd
data:
server.insecure: "true"

View File

@@ -0,0 +1,31 @@
# ------------------------------------------------------------------------------
# Ingress — ArgoCD via ingress-nginx
# Temporary until Cilium Gateway API is stable
# TLS terminated at ingress, argocd-server runs in insecure mode
# ------------------------------------------------------------------------------
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd
namespace: argocd
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- argocd.local.mk-labs.cloud
secretName: argocd-tls
rules:
- host: argocd.local.mk-labs.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 80