summaryrefslogtreecommitdiff
path: root/yaml/networking/ingress.yaml
blob: 4a0d31d7f6a85b020a3a8444385e7b59c9d22445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: cas-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx
  rules:
  - http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: cas-service
            port:
              number: 80