Actualizar workloads/nginx/nginx-resources.yaml

This commit is contained in:
2026-06-21 08:10:21 +00:00
parent cbc76ab904
commit c65eb7b270
+3 -3
View File
@@ -34,16 +34,16 @@ spec:
port: 80 port: 80
targetPort: 80 targetPort: 80
--- # 3. El Ingress (Versión a prueba de fallos)
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: nginx-ingress name: nginx-ingress
namespace: kube-system namespace: kube-system
# 🔴 Hemos quitado todas las annotations para ver si el clúster lo toma por defecto
spec: spec:
ingressClassName: nginx # 🔴 LA CLAVE: Esto enlaza el Ingress con el Controller que está en kube-system
rules: rules:
- host: app.cruzcloud.net - host: nginx.cruzcloud.net
http: http:
paths: paths:
- path: / - path: /