From 64814eb7ccfcef6c7a3d137094e83a5133fd0bb1 Mon Sep 17 00:00:00 2001 From: Robin Mordasiewicz Date: Sun, 4 Aug 2024 22:30:01 -0400 Subject: [PATCH] adding ks8 --- manifests/apps/ollama/HelmRelease.yaml | 20 +++++++++++++++++--- manifests/apps/ollama/Ingress.yaml | 7 +++---- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/manifests/apps/ollama/HelmRelease.yaml b/manifests/apps/ollama/HelmRelease.yaml index f64984ff..3adbe49a 100644 --- a/manifests/apps/ollama/HelmRelease.yaml +++ b/manifests/apps/ollama/HelmRelease.yaml @@ -45,12 +45,26 @@ spec: - nomic-embed-text - codestral:latest ingress: - enabled: false - className: "nginx" + enabled: true + className: "fwb-ingress-controller" + annotations: { + "fortiweb-ip" : "10.0.0.4", + "fortiweb-login" : "fortiweb-login-secret", + "fortiweb-port": "8443", + "fortiweb-ctrl-log" : "disable", + "virtual-server-ip" : "10.0.0.5", + "virtual-server-addr-type" : "ipv4", + "virtual-server-interface" : "port1", + "server-policy-web-protection-profile" : "Inline Standard Protection", + "server-policy-https-service" : "HTTPS", + "server-policy-http-service" : "HTTP", + "server-policy-syn-cookie" : "enable", + "server-policy-http-to-https" : "disable" + } hosts: - host: www.bankexample.com paths: - - path: / + - path: /api pathType: Prefix persistentVolume: enabled: true diff --git a/manifests/apps/ollama/Ingress.yaml b/manifests/apps/ollama/Ingress.yaml index 09f86580..c584b41a 100644 --- a/manifests/apps/ollama/Ingress.yaml +++ b/manifests/apps/ollama/Ingress.yaml @@ -7,13 +7,12 @@ metadata: spec: ingressClassName: nginx-internal rules: - - host: www.bankexample.com - http: + - http: paths: - backend: service: - name: fos + name: ollama port: - number: 8001 + number: 11434 path: / pathType: Prefix