about summary refs log tree commit diff
path: root/tools/argocd/templates/ingress.yaml
blob: 5793540a3e388e545324894d37df3fa04dc58365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: argocd-ingress
  namespace: { { .Values.namespace } }
  annotations:
    kubernetes.io/ingress.class:
      { { .Values.ingress.annotations."kubernetes.io/ingress.class" } }
    cert-manager.io/cluster-issuer: letsencrypt-prod
    traefik.ingress.kubernetes.io/redirect-entry-point: https
    traefik.ingress.kubernetes.io/ssl-redirect: "true"
    traefik.ingress.kubernetes.io/tls-acme: "true"
spec:
  rules:
    - host: { { .Values.ingress.hostname } }
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: argocd-server
                port:
                  number: 80
  tls:
    - hosts:
        - { { .Values.ingress.hostname } }
      secretName: { { .Values.ingress.tls.secretName } }