Update file argocd.yaml
This commit is contained in:
@@ -1,29 +1,52 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
#apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
#kind: Ingress
|
||||||
|
#metadata:
|
||||||
|
# name: argocd-ingress
|
||||||
|
# annotations:
|
||||||
|
# kubernetes.io/ingress.class: nginx
|
||||||
|
# cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
# nginx.ingress.kubernetes.io/whitelist-source-range: "192.168.0.0/16"
|
||||||
|
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||||
|
#spec:
|
||||||
|
# rules:
|
||||||
|
# - host: argocd.internal.durp.info
|
||||||
|
# http:
|
||||||
|
# paths:
|
||||||
|
# - path: /
|
||||||
|
# pathType: Prefix
|
||||||
|
# backend:
|
||||||
|
# service:
|
||||||
|
# name: argocd
|
||||||
|
# port:
|
||||||
|
# number: 443
|
||||||
|
# tls:
|
||||||
|
# - hosts:
|
||||||
|
# - argocd.internal.durp.info
|
||||||
|
# secretName: argocd-tls
|
||||||
|
---
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-ingress
|
name: argocd-ingress
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
||||||
#nginx.ingress.kubernetes.io/whitelist-source-range: "192.168.0.0/16"
|
|
||||||
#nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
|
||||||
traefik.ingress.kubernetes.io/protocol: "https"
|
|
||||||
spec:
|
spec:
|
||||||
rules:
|
entryPoints:
|
||||||
- host: argocd.internal.durp.info
|
- websecure
|
||||||
http:
|
routes:
|
||||||
paths:
|
- match: Host(`argocd.internal.durp.info`)
|
||||||
- path: /
|
kind: Rule
|
||||||
pathType: Prefix
|
services:
|
||||||
backend:
|
- name: argocd
|
||||||
service:
|
port: 443
|
||||||
name: argocd
|
scheme: https
|
||||||
port:
|
|
||||||
number: 443
|
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
certResolver: letsencrypt
|
||||||
- argocd.internal.durp.info
|
domains:
|
||||||
secretName: argocd-tls
|
- main: argocd.internal.durp.info
|
||||||
|
# Replace with your TLS Secret name
|
||||||
|
tls:
|
||||||
|
secretName: argocd-tls
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user