From 32e1744a43673687b327fcf45c4292cb9992ae1f Mon Sep 17 00:00:00 2001 From: Victor Getz Date: Tue, 16 Jan 2024 13:47:52 +0100 Subject: [PATCH] #97 Add iits-fullstack-olama - update readme --- charts/iits-ollama-fullstack/README-IITS.MD | 38 +++++++++++++++++++++ kubeval-values.yaml | 4 +++ 2 files changed, 42 insertions(+) create mode 100644 charts/iits-ollama-fullstack/README-IITS.MD diff --git a/charts/iits-ollama-fullstack/README-IITS.MD b/charts/iits-ollama-fullstack/README-IITS.MD new file mode 100644 index 00000000..67fdf199 --- /dev/null +++ b/charts/iits-ollama-fullstack/README-IITS.MD @@ -0,0 +1,38 @@ +# Usage inside infrastructure-charts + +```yaml + iits-ollama-fullstack: + targetRevision: "0.1.1" + namespace: ollama + valueFile: "value-files/iits-ollama-fullstack/values.yaml" +``` + + +value-files/iits-ollama-fullstack/values.yaml + +```yaml +ingress: + airbyte: + host: "airbyte.ollama.my-domain.com" + annotations: + # Adds the oidc proxy upfront + traefik.ingress.kubernetes.io/router.middlewares: "ollama-oidc-forward-auth-ollama@kubernetescrd" +ollama: + ollama: + ollama: + gpu: + enabled: "true" + ingress: + host: "ollama.my-domain.com" + annotations: + # Adds the oidc proxy upfront + traefik.ingress.kubernetes.io/router.middlewares: "ollama-oidc-forward-auth-ollama@kubernetescrd" + webui: + env: + OLLAMA_API_BASE_URL: "https://ollama.my-domain.com/api" + ingress: + annotations: + # Adds the oidc proxy upfront + traefik.ingress.kubernetes.io/router.middlewares: "ollama-oidc-forward-auth-ollama@kubernetescrd" + host: "ollama.my-domain.com" +``` \ No newline at end of file diff --git a/kubeval-values.yaml b/kubeval-values.yaml index dcef1d24..f0d4d315 100644 --- a/kubeval-values.yaml +++ b/kubeval-values.yaml @@ -1,5 +1,9 @@ credentials: password: "DUMMY_VALUE" +ollama: + webui: + env: + OLLAMA_API_BASE_URL: "https://ollama.my-domain.com/api" webui: env: OLLAMA_API_BASE_URL: "https://ollama.my-domain.com/api" \ No newline at end of file