update
This commit is contained in:
@@ -16,6 +16,16 @@ spec:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: ollama-basic-auth
|
||||||
|
spec:
|
||||||
|
basicAuth:
|
||||||
|
secret: ollama-secret
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
@@ -55,8 +65,7 @@ spec:
|
|||||||
routes:
|
routes:
|
||||||
- match: Host(`ollama.durp.info`) && PathPrefix(`/`)
|
- match: Host(`ollama.durp.info`) && PathPrefix(`/`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: whitelist
|
- name: ollama-basic-auth
|
||||||
namespace: traefik
|
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: ollama
|
- name: ollama
|
||||||
|
|||||||
Reference in New Issue
Block a user