Browse Source

nuevo ingress

Administrator 4 months ago
parent
commit
f7c0e6d393
1 changed files with 25 additions and 0 deletions
  1. 25 0
      05-ingress.yaml

+ 25 - 0
05-ingress.yaml View File

@@ -0,0 +1,25 @@
1
+# tls-ingress.yaml
2
+apiVersion: networking.k8s.io/v1
3
+kind: Ingress
4
+metadata:
5
+  name: factorytrace-ingress
6
+  annotations:
7
+    cert-manager.io/cluster-issuer: "letsencrypt-prod"
8
+    nginx.ingress.kubernetes.io/rewrite-target: /
9
+spec:
10
+  ingressClassName: nginx
11
+  tls:
12
+  - hosts:
13
+    - lahelice.vespot.co
14
+    secretName: lahelice-tls
15
+  rules:
16
+  - host: lahelice.vespot.co
17
+    http:
18
+      paths:
19
+      - path: /
20
+        pathType: Prefix
21
+        backend:
22
+          service:
23
+            name: frontpod-service
24
+            port:
25
+              number: 80