Skip to content

Commit 590e2ca

Browse files
committed
feat: restrict ollama to private warp domain
1 parent c4b8fb2 commit 590e2ca

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

workloads/ollama/ollama.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,20 @@ spec:
9494
port: 11434
9595
targetPort: api
9696
---
97-
apiVersion: networking.cfargotunnel.com/v1alpha1
98-
kind: TunnelBinding
97+
apiVersion: route.openshift.io/v1
98+
kind: Route
9999
metadata:
100-
name: ollama
100+
name: ollama-private
101101
namespace: ollama
102102
annotations:
103103
argocd.argoproj.io/sync-wave: "2"
104-
tunnelRef:
105-
kind: ClusterTunnel
106-
name: cluster-apps
107-
subjects:
108-
- name: ollama
109-
spec:
110-
fqdn: ollama.makeitwork.cloud
111-
target: http://ollama.ollama.svc:11434
104+
spec:
105+
host: ollama.apps.makeitwork.cloud
106+
to:
107+
kind: Service
108+
name: ollama
109+
port:
110+
targetPort: api
111+
tls:
112+
termination: edge
113+
insecureEdgeTerminationPolicy: Redirect

0 commit comments

Comments
 (0)