Skip to content

Commit

Permalink
feat: add jwt token expires env vars to ai-server chart
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed May 5, 2023
1 parent 318cd21 commit 0bdbd8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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.0.2
version: 1.0.3
2 changes: 2 additions & 0 deletions charts/ai-server/templates/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ stringData:
AI_SERVER_REPO_URL={{ .Values.AI_SERVER_REPO_URL | squote }}
COOKIE_SALT={{ .Values.COOKIE_SALT | squote }}
IMAGE_VERSION={{ .Values.AI_SERVER_VERSION | squote }}
JWT_ACCESS_TOKEN_EXPIRES_IN={{ .Values.JWT_ACCESS_TOKEN_EXPIRES_IN | squote }}
JWT_REFRESH_TOKEN_EXPIRES_IN={{ .Values.JWT_REFRESH_TOKEN_EXPIRES_IN | squote }}
JWT_PRIVATE_KEY={{ .Values.JWT_PRIVATE_KEY | b64enc | squote }}
JWT_PUBLIC_KEY={{ .Values.JWT_PUBLIC_KEY | b64enc | squote }}
OPENAI_API_KEY={{ .Values.OPENAI_API_KEY | squote }}
Expand Down
3 changes: 3 additions & 0 deletions charts/ai-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ AI_SERVER_VERSION:
GITHUB_TOKEN:
INSTALL_PATH:

JWT_ACCESS_TOKEN_EXPIRES_IN:
JWT_REFRESH_TOKEN_EXPIRES_IN:

JWT_PRIVATE_KEY:
JWT_PUBLIC_KEY:

Expand Down

0 comments on commit 0bdbd8f

Please sign in to comment.