fix(argocd): switch to ingress-nginx, fix shared resource warning, add insecure mode
This commit is contained in:
@@ -24,6 +24,8 @@ spec:
|
|||||||
repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
|
repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: cluster/platform/argocd
|
path: cluster/platform/argocd
|
||||||
|
directory:
|
||||||
|
exclude: "application.yaml"
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
|||||||
11
cluster/platform/argocd/argocd-params.yaml
Normal file
11
cluster/platform/argocd/argocd-params.yaml
Normal 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"
|
||||||
31
cluster/platform/argocd/ingress.yaml
Normal file
31
cluster/platform/argocd/ingress.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user