diff --git a/04-agentgateway-proxy/templates/agentgateway-backend-ollama.yaml b/04-agentgateway-proxy/templates/agentgateway-backend-ollama.yaml index fc1dfa5..e6a65c1 100644 --- a/04-agentgateway-proxy/templates/agentgateway-backend-ollama.yaml +++ b/04-agentgateway-proxy/templates/agentgateway-backend-ollama.yaml @@ -16,4 +16,7 @@ spec: '*': Passthrough /v1/chat/completions: Completions /v1/embeddings: Passthrough - /v1/models: Passthrough \ No newline at end of file + /v1/models: Passthrough + auth: + secretRef: + name: ollama-secret \ No newline at end of file diff --git a/04-agentgateway-proxy/templates/ollama-secret.yaml b/04-agentgateway-proxy/templates/ollama-secret.yaml new file mode 100644 index 0000000..9feea2b --- /dev/null +++ b/04-agentgateway-proxy/templates/ollama-secret.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +data: + Authorization: b2xsYW1h +kind: Secret +metadata: + name: ollama-secret + namespace: agentgateway-system +type: Opaque \ No newline at end of file