use haproxy ingress
This commit is contained in:
parent
d000aaa645
commit
ef0cd08069
|
|
@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
|
|||
kind: Application
|
||||
metadata:
|
||||
name: argocd
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
name: ''
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
|
|||
kind: Application
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
name: ''
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
|
|||
kind: Application
|
||||
metadata:
|
||||
name: haproxy-ingress
|
||||
namespace: argocd
|
||||
spec:
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: argocd
|
||||
|
||||
resources:
|
||||
- haproxy-ingress.yaml
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
|
|||
kind: Application
|
||||
metadata:
|
||||
name: metrics-server
|
||||
namespace: argocd
|
||||
spec:
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -16,5 +16,5 @@ spec:
|
|||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: nginx
|
||||
class: haproxy
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue