12345678910111213141516171819202122232425262728293031323334353637383940 |
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: {{ template "app-name" . }}-ingress
- annotations:
- traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
- # namespace: argocd
- spec:
- entryPoints:
- - websecure
- routes:
- - match: Host(`{{ .Values.ingress.host }}`)
- kind: Rule
- services:
- - name: {{ template "app-name" . }}
- port: {{ .Values.ingress.port }}
- tls:
- secretName: {{ .Values.ingress.secretName }}
- # certificatesResolvers:
- # myresolver:
- # acme:
- # caServer: https://acme-staging-v02.api.letsencrypt.org/directory
- # options: {}
- # tls:
- # certResolver: default
- # domains:
- # - main: {{ .Values.ingress.main }}
- # sans:
- # - '*.{{ .Values.ingress.sans }}'
- # namespace: {{ .Values.namespace }}
- # spec:
- # rules:
- # - host: k8s.eugeniocarvalho.dev
- # http:
- # paths:
- # - path: ""
- # backend:
- # serviceName: whoami
- # servicePort: 80
|