diff --git a/helm-chart/localai-values.yaml b/helm-chart/localai-values.yaml index 10851e2..914f915 100644 --- a/helm-chart/localai-values.yaml +++ b/helm-chart/localai-values.yaml @@ -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 diff --git a/helm-chart/test-certificate.yaml b/helm-chart/test-certificate.yaml new file mode 100644 index 0000000..52e2c8b --- /dev/null +++ b/helm-chart/test-certificate.yaml @@ -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 +