use haproxy ingress

This commit is contained in:
Victor Barba Martin 2021-10-29 15:47:50 +02:00
parent d000aaa645
commit ef0cd08069
9 changed files with 3 additions and 28 deletions

View File

@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
spec:
destination:
name: ''

View File

@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argocd
spec:
destination:
name: ''

View File

@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: haproxy-ingress
namespace: argocd
spec:
syncPolicy:
syncOptions:

View File

@ -1,6 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- haproxy-ingress.yaml

View File

@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: metrics-server
namespace: argocd
spec:
syncPolicy:
syncOptions:

View File

@ -5,7 +5,7 @@ metadata:
namespace: argocd
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/ingress.class: nginx
kubernetes.io/ingress.class: haproxy
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# If you encounter a redirect loop or are getting a 307 response code

View File

@ -1,10 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: production
spec:
secretName: production-certificate
issuerRef:
name: letsencrypt-production
dnsNames:
- video.jamkazam.com

View File

@ -1,12 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: staging-cert
spec:
secretName: staging-cert
dnsNames:
- argocd.staging.video.jamkazam.com
- monitoring.staging.video.jamkazam.com
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer

View File

@ -16,5 +16,5 @@ spec:
solvers:
- http01:
ingress:
class: nginx
class: haproxy