switch ingress

This commit is contained in:
2024-11-23 20:02:50 -06:00
parent e19c81a84e
commit f12659cca7
2 changed files with 11 additions and 12 deletions

View File

@@ -1,26 +1,21 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-local
name: argocd-tailscale
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: argocd-local
app.kubernetes.io/name: argocd-tailscale
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: letsencrypt-issuer
spec:
ingressClassName: traefik
ingressClassName: tailscale
tls:
- hosts:
- argocd.alexlebens.net
secretName: argocd-tls-secret
- argocd-cl01tl
rules:
- host: argocd.alexlebens.net
- host: argocd-cl01tl
http:
paths:
- path: /

View File

@@ -33,8 +33,12 @@ argo-cd:
ingress:
enabled: true
controller: generic
ingressClassName: tailscale
hostname: argocd-cl01tl
ingressClassName: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: letsencrypt-issuer
hostname: argocd.alexlebens.net
tls: true
metrics:
enabled: true