Skip to content

Fix missed gateway migration / add LocalAI env values / add test cert (#39) #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions helm-chart/localai-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,14 @@ service:

# Gateway API disabled (using ingress instead)
gateway:
enabled: false

# Ingress configuration
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: selfsigned-issuer
hosts:
- host: example.local
paths:
- path: /
pathType: Prefix
tls:
- secretName: example-cert-tls
hosts:
- example.local

# LocalAI configuration
localai:
enabled: true
env:
CONTEXT_SIZE: "0"
THREADS: "4"
persistence:
models:
enabled: true
Expand Down
17 changes: 17 additions & 0 deletions helm-chart/test-certificate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: test-cert
namespace: localai
spec:
secretName: test-cert-tls
duration: 2160h # 90 days
renewBefore: 360h # 15 days
commonName: test.local
dnsNames:
- test.local
issuerRef:
name: selfsigned-issuer
kind: ClusterIssuer
group: cert-manager.io