summaryrefslogtreecommitdiff
path: root/yaml/networking/ingress.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'yaml/networking/ingress.yaml')
-rw-r--r--yaml/networking/ingress.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/yaml/networking/ingress.yaml b/yaml/networking/ingress.yaml
new file mode 100644
index 0000000..4a0d31d
--- /dev/null
+++ b/yaml/networking/ingress.yaml
@@ -0,0 +1,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