Skip to content

Commit

Permalink
feat: Update ai-server chart to allow X-Product-Version header to be …
Browse files Browse the repository at this point in the history
…included in requests.
  • Loading branch information
lots0logs committed Feb 7, 2024
1 parent 3837f14 commit a2c3449
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ai-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: dustin@elegantthemes.com
name: Elegant Themes
name: ai-server
version: 1.2.3
version: 1.2.4
2 changes: 1 addition & 1 deletion charts/ai-server/templates/ai-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
cpu: '2'
memory: {{ .Values.MEMORY_LIMIT | squote }}
startupProbe:
exec:
Expand Down
1 change: 1 addition & 0 deletions charts/ai-server/templates/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/enable-rewrite-log: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/cors-allow-headers: "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,X-Product-Version"
{{ if not (eq .Values.AI_SERVER_ENV "production") }}nginx.ingress.kubernetes.io/proxy-read-timeout: "120"{{ end }}
spec:
tls:
Expand Down

0 comments on commit a2c3449

Please sign in to comment.