Added API subdomain

This commit is contained in:
Marcus Noble 2022-01-22 14:32:31 +00:00
parent a86dc5d7cd
commit 9d1b714e94

View File

@ -12,6 +12,7 @@ data:
"home.auth-proxy.svc": "home.cluster.local", "home.auth-proxy.svc": "home.cluster.local",
"home.cluster.fun": "home.cluster.local", "home.cluster.fun": "home.cluster.local",
"tasks.cluster.fun": "tasks.cluster.local" "tasks.cluster.fun": "tasks.cluster.local"
"api.tasks.cluster.fun": "api.tasks.cluster.local"
"prometheus.auth-proxy.svc": "prometheus.cluster.local", "prometheus.auth-proxy.svc": "prometheus.cluster.local",
"loki.auth-proxy.svc": "loki.cluster.local", "loki.auth-proxy.svc": "loki.cluster.local",
"loki.auth-proxy.svc:80": "loki.cluster.local" "loki.auth-proxy.svc:80": "loki.cluster.local"
@ -266,6 +267,7 @@ spec:
- hosts: - hosts:
- home.cluster.fun - home.cluster.fun
- tasks.cluster.fun - tasks.cluster.fun
- api.tasks.cluster.fun
secretName: non-auth-proxy-ingress secretName: non-auth-proxy-ingress
rules: rules:
- host: home.cluster.fun - host: home.cluster.fun
@ -288,3 +290,13 @@ spec:
name: non-auth-proxy name: non-auth-proxy
port: port:
name: http name: http
- host: api.tasks.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: non-auth-proxy
port:
name: http