test de ingressroute
Some checks are pending
Web/ip/pipeline/head This commit looks good
web/ip/pipeline/head Build queued...

This commit is contained in:
Julien Cabillot
2021-08-06 21:44:19 -04:00
parent d27c5c9684
commit 13193d699e
5 changed files with 91 additions and 28 deletions

View File

@@ -1,25 +1,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: "ip-deployment"
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/router.entrypoints: "web,websecure"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- "ip.opti.cabillot.eu"
secretName: "ipcabilloteu-tls"
rules:
- host: "ip.opti.cabillot.eu"
http:
paths:
- path: "/"
pathType: "Prefix"
backend:
service:
name: "ip-deployment"
port:
name: "http"
#apiVersion: networking.k8s.io/v1
#kind: Ingress
#metadata:
# name: "ip"
# annotations:
# kubernetes.io/ingress.class: "traefik"
# traefik.ingress.kubernetes.io/router.entrypoints: "web,websecure"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
#spec:
# tls:
# - hosts:
# - "ip.opti.cabillot.eu"
# secretName: "ipcabilloteu-tls"
# rules:
# - host: "ip.opti.cabillot.eu"
# http:
# paths:
# - path: "/"
# pathType: "Prefix"
# backend:
# service:
# name: "ip"
# port:
# name: "http"