Skip to content

Commit 7a0081d

Browse files
feature: create release 1.1 (#33)
1 parent 4f22b86 commit 7a0081d

File tree

5 files changed

+64
-33
lines changed

5 files changed

+64
-33
lines changed

charts/statgpt/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ maintainers:
5454
name: statgpt
5555
sources:
5656
- https://github.com/epam/statgpt-helm
57-
version: 1.0.10
57+
version: 1.1.0

charts/statgpt/README.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# statgpt
22

3-
![Version: 1.0.10](https://img.shields.io/badge/Version-1.0.10-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
3+
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
44

55
Umbrella chart for StatGPT solution
66

@@ -94,10 +94,11 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
9494

9595
| Key | Type | Default | Description |
9696
|-----|------|---------|-------------|
97-
| _admin_frontend_version | string | `"0.2.5"` | Admin Frontend version is used for the admin-frontend image tag |
98-
| _backend_version | string | `"0.3.0"` | Backend version is used for both chat-backend and admin-backend image tags (must be the same for both) |
97+
| _admin_frontend_version | string | `"0.3.0"` | Admin Frontend version is used for the admin-frontend image tag |
98+
| _backend_version | string | `"0.4.0"` | Backend version is used for both chat-backend and admin-backend image tags (must be the same for both) |
9999
| _elasticsearch_version | string | `"8.14.3-debian-12-r0"` | Elasticsearch version is used for the elasticsearch image tag |
100100
| _pgvector_version | string | `"v0.8.1"` | PGVector extension version |
101+
| _portal-frontend_version | string | `"0.2.0"` | Portal Frontend version is used for the portal-frontend image tag |
101102
| _postgresql_version | string | `"16.3.0-debian-12-r14"` | PostgreSQL version is used for the postgresql image tag |
102103
| admin-backend.commonLabels."app.kubernetes.io/component" | string | `"application"` | Kubernetes label to identify the component as an application |
103104
| admin-backend.containerPorts.http | int | `8000` | HTTP port for the application |
@@ -120,11 +121,12 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
120121
| admin-backend.env.PGVECTOR_DATABASE | string | `"environment-specific"` | Database name for PGVector |
121122
| admin-backend.env.PGVECTOR_HOST | string | `"environment-specific"` | Host for PGVector database |
122123
| admin-backend.env.PGVECTOR_PORT | string | `"environment-specific"` | Port for PGVector database |
124+
| admin-backend.env.PGVECTOR_USE_MSI | string | `"false"` | Use Azure Managed Identity for PostgreSQL (set to "true" to use MSI instead of PGVECTOR_PASSWORD) |
123125
| admin-backend.env.WEB_CONCURRENCY | string | `"1"` | Number of concurrent web processes |
124126
| admin-backend.image.pullPolicy | string | `"Always"` | Image pull policy |
125127
| admin-backend.image.registry | string | `"docker.io"` | Docker registry URL |
126128
| admin-backend.image.repository | string | `"epam/statgpt-admin-backend"` | Image repository name |
127-
| admin-backend.image.tag | string | `"0.3.0"` | Image tag or version |
129+
| admin-backend.image.tag | string | `"0.4.0"` | Image tag or version |
128130
| admin-backend.ingress | object | `{"annotations":{"nginx.ingress.kubernetes.io/proxy-connect-timeout":"600","nginx.ingress.kubernetes.io/proxy-read-timeout":"600","nginx.ingress.kubernetes.io/proxy-send-timeout":"600"},"enabled":false,"ingressClassName":"nginx","path":"/admin/api"}` | Example for data related variables DATA_PORTAL_API_KEY: "example" ## Ingress Configuration ### ref: https://kubernetes.io/docs/concepts/services-networking/ingress/ |
129131
| admin-backend.ingress.annotations | object | `{"nginx.ingress.kubernetes.io/proxy-connect-timeout":"600","nginx.ingress.kubernetes.io/proxy-read-timeout":"600","nginx.ingress.kubernetes.io/proxy-send-timeout":"600"}` | NGINX annotations for proxy configuration |
130132
| admin-backend.ingress.enabled | bool | `false` | Enable Ingress resource |
@@ -138,10 +140,12 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
138140
| admin-backend.initContainers[0].env[2].value | string | `"{{ .Values.env.PGVECTOR_PORT }}"` | |
139141
| admin-backend.initContainers[0].env[3].name | string | `"PGVECTOR_DATABASE"` | |
140142
| admin-backend.initContainers[0].env[3].value | string | `"{{ .Values.env.PGVECTOR_DATABASE }}"` | |
141-
| admin-backend.initContainers[0].env[4].name | string | `"PGVECTOR_USER"` | |
142-
| admin-backend.initContainers[0].env[4].value | string | `"{{ .Values.secrets.PGVECTOR_USER }}"` | |
143-
| admin-backend.initContainers[0].env[5].name | string | `"PGVECTOR_PASSWORD"` | |
144-
| admin-backend.initContainers[0].env[5].value | string | `"{{ .Values.secrets.PGVECTOR_PASSWORD }}"` | |
143+
| admin-backend.initContainers[0].env[4].name | string | `"PGVECTOR_USE_MSI"` | |
144+
| admin-backend.initContainers[0].env[4].value | string | `"{{ .Values.env.PGVECTOR_USE_MSI }}"` | |
145+
| admin-backend.initContainers[0].env[5].name | string | `"PGVECTOR_USER"` | |
146+
| admin-backend.initContainers[0].env[5].value | string | `"{{ .Values.secrets.PGVECTOR_USER }}"` | |
147+
| admin-backend.initContainers[0].env[6].name | string | `"PGVECTOR_PASSWORD"` | |
148+
| admin-backend.initContainers[0].env[6].value | string | `"{{ .Values.secrets.PGVECTOR_PASSWORD }}"` | |
145149
| admin-backend.initContainers[0].image | string | `"{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
146150
| admin-backend.initContainers[0].imagePullPolicy | string | `"{{ .Values.image.pullPolicy }}"` | |
147151
| admin-backend.initContainers[0].name | string | `"alembic"` | |
@@ -150,7 +154,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
150154
| admin-backend.metrics.serviceMonitor.enabled | bool | `false` | Enable Prometheus ServiceMonitor for metrics |
151155
| admin-backend.readinessProbe.enabled | bool | `true` | Enable readinessProbe |
152156
| admin-backend.resources.limits.cpu | string | `"1000m"` | Maximum CPU limit for the container |
153-
| admin-backend.resources.limits.memory | string | `"4Gi"` | Maximum memory limit for the container |
157+
| admin-backend.resources.limits.memory | string | `"6Gi"` | Maximum memory limit for the container |
154158
| admin-backend.resources.requests.cpu | string | `"100m"` | Minimum CPU request for resource scheduling |
155159
| admin-backend.resources.requests.memory | string | `"2Gi"` | Minimum memory request for resource scheduling |
156160
| admin-backend.secrets | object | `{}` | |
@@ -163,7 +167,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
163167
| admin-frontend.image.pullPolicy | string | `"Always"` | Image pull policy |
164168
| admin-frontend.image.registry | string | `"docker.io"` | Docker registry URL |
165169
| admin-frontend.image.repository | string | `"epam/statgpt-admin-frontend"` | Image repository name |
166-
| admin-frontend.image.tag | string | `"0.2.5"` | Image tag or version |
170+
| admin-frontend.image.tag | string | `"0.3.0"` | Image tag or version |
167171
| admin-frontend.ingress.annotations | object | `{"nginx.ingress.kubernetes.io/proxy-connect-timeout":"600","nginx.ingress.kubernetes.io/proxy-read-timeout":"600","nginx.ingress.kubernetes.io/proxy-send-timeout":"600"}` | NGINX annotations for proxy configuration |
168172
| admin-frontend.ingress.enabled | bool | `false` | Enable Ingress resource |
169173
| admin-frontend.ingress.ingressClassName | string | `"nginx"` | Specify the Ingress class name |
@@ -177,7 +181,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
177181
| admin-frontend.readinessProbe.httpGet | object | `{"path":"/api/health"}` | HTTP GET request configuration for liveness probe |
178182
| admin-frontend.readinessProbe.httpGet.path | string | `"/api/health"` | Health check endpoint path |
179183
| admin-frontend.resources.limits.cpu | string | `"1000m"` | Maximum CPU limit for the container |
180-
| admin-frontend.resources.limits.memory | string | `"2Gi"` | Maximum memory limit for the container |
184+
| admin-frontend.resources.limits.memory | string | `"4Gi"` | Maximum memory limit for the container |
181185
| admin-frontend.resources.requests.cpu | string | `"500m"` | Minimum CPU request for resource scheduling |
182186
| admin-frontend.resources.requests.memory | string | `"0.5Gi"` | Minimum memory request for resource scheduling |
183187
| admin-frontend.secrets | object | `{}` | |
@@ -197,11 +201,12 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
197201
| chat-backend.env.PGVECTOR_DATABASE | string | `"environment-specific"` | Database name for PGVector |
198202
| chat-backend.env.PGVECTOR_HOST | string | `"environment-specific"` | Host for PGVector database |
199203
| chat-backend.env.PGVECTOR_PORT | string | `"environment-specific"` | Port for PGVector database |
204+
| chat-backend.env.PGVECTOR_USE_MSI | string | `"false"` | Use Azure Managed Identity for PostgreSQL (set to "true" to use MSI instead of PGVECTOR_PASSWORD) |
200205
| chat-backend.env.WEB_CONCURRENCY | string | `"1"` | Number of concurrent web processes |
201206
| chat-backend.image.pullPolicy | string | `"Always"` | Image pull policy |
202207
| chat-backend.image.registry | string | `"docker.io"` | Docker registry URL |
203208
| chat-backend.image.repository | string | `"epam/statgpt-chat-backend"` | Image repository name |
204-
| chat-backend.image.tag | string | `"0.3.0"` | Image tag or version |
209+
| chat-backend.image.tag | string | `"0.4.0"` | Image tag or version |
205210
| chat-backend.livenessProbe.enabled | bool | `true` | Enable livenessProbe |
206211
| chat-backend.livenessProbe.initialDelaySeconds | int | `180` | Initial delay in seconds before liveness probe starts (increased to prevent premature pod restarts during PostgreSQL initialization) |
207212
| chat-backend.metrics.enabled | bool | `false` | Enable metrics collection |
@@ -260,9 +265,9 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
260265
| portal-frontend.env.NEXTAUTH_URL | string | `"environment-specific"` | URL for NextAuth service |
261266
| portal-frontend.env.SDMX_API_URL | string | `"environment-specific"` | SDMX API URL |
262267
| portal-frontend.image.pullPolicy | string | `"Always"` | Image pull policy |
263-
| portal-frontend.image.registry | string | `"environment-specific"` | Docker registry URL (e.g., "docker.io") |
264-
| portal-frontend.image.repository | string | `"environment-specific"` | Image repository name (e.g., "epam/statgpt-global-trusted-data-commons") |
265-
| portal-frontend.image.tag | string | `"environment-specific"` | Image tag or version (e.g., "0.1.2") |
268+
| portal-frontend.image.registry | string | `"docker.io"` | Docker registry URL |
269+
| portal-frontend.image.repository | string | `"epam/statgpt-global-trusted-data-commons"` | Image repository name |
270+
| portal-frontend.image.tag | string | `"0.2.0"` | Image tag or version |
266271
| portal-frontend.ingress.annotations | object | `{"nginx.ingress.kubernetes.io/proxy-connect-timeout":"600","nginx.ingress.kubernetes.io/proxy-read-timeout":"600","nginx.ingress.kubernetes.io/proxy-send-timeout":"600"}` | NGINX annotations for proxy configuration |
267272
| portal-frontend.ingress.enabled | bool | `false` | Enable Ingress resource |
268273
| portal-frontend.ingress.ingressClassName | string | `"nginx"` | Specify the Ingress class name |

charts/statgpt/ci/default-values.yaml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pgvector:
7474
primary:
7575
resources:
7676
limits:
77-
cpu: "1"
77+
cpu: "1000m"
7878
memory: "1Gi"
7979
requests:
8080
cpu: "250m"
@@ -89,17 +89,34 @@ elasticsearch:
8989
enabled: true
9090
fullnameOverride: "statgpt-elasticsearch"
9191
master:
92-
heapSize: 128m
92+
heapSize: 512m
9393
resources:
9494
limits:
95-
cpu: "500m"
96-
memory: "0.5Gi"
95+
cpu: "1000m"
96+
memory: "1Gi"
9797
requests:
9898
cpu: "250m"
99-
memory: "0.25Gi"
99+
memory: "0.5Gi"
100100
security:
101101
enabled: true
102102
elasticPassword: *ELASTIC_AUTH_PASSWORD
103103

104104
portal-frontend:
105-
enabled: false
105+
enabled: true
106+
fullnameOverride: "statgpt-portal-frontend"
107+
resources:
108+
limits:
109+
cpu: "500m"
110+
memory: "1Gi"
111+
requests:
112+
cpu: "250m"
113+
memory: "0.25Gi"
114+
env:
115+
DIAL_API_URL: *DIAL_URL
116+
DIAL_API_VERSION: "2025-04-01-preview"
117+
DEFAULT_MODEL: "DEFAULT_MODEL"
118+
NEXTAUTH_URL: "http://statgpt-portal-frontend"
119+
SDMX_API_URL: "SDMX_API_URL"
120+
secrets:
121+
NEXTAUTH_SECRET: "NEXTAUTH_SECRET"
122+
SDMX_AUTH_KEY: "SDMX_AUTH_KEY"

charts/statgpt/values.yaml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# -- Backend version is used for both chat-backend and admin-backend image tags (must be the same for both)
2-
_backend_version: &backend_version "0.3.0"
2+
_backend_version: &backend_version "0.4.0"
33
# -- Admin Frontend version is used for the admin-frontend image tag
4-
_admin_frontend_version: &admin_frontend_version "0.2.5"
4+
_admin_frontend_version: &admin_frontend_version "0.3.0"
5+
# -- Portal Frontend version is used for the portal-frontend image tag
6+
_portal-frontend_version: &portal-frontend_version "0.2.0"
57
# -- PostgreSQL version is used for the postgresql image tag
68
_postgresql_version: &postgresql_version "16.3.0-debian-12-r14"
79
# -- PGVector extension version
@@ -103,6 +105,8 @@ chat-backend:
103105
PGVECTOR_PORT: "environment-specific"
104106
# -- Database name for PGVector
105107
PGVECTOR_DATABASE: "environment-specific"
108+
# -- Use Azure Managed Identity for PostgreSQL (set to "true" to use MSI instead of PGVECTOR_PASSWORD)
109+
PGVECTOR_USE_MSI: "false"
106110
# -- Connection string for Elasticsearch
107111
ELASTIC_CONNECTION_STRING: "environment-specific"
108112
# -- Index for Elasticsearch indicators
@@ -174,6 +178,9 @@ admin-backend:
174178
value: "{{ .Values.env.PGVECTOR_PORT }}"
175179
- name: "PGVECTOR_DATABASE"
176180
value: "{{ .Values.env.PGVECTOR_DATABASE }}"
181+
# When PGVECTOR_USE_MSI is "true", Managed Identity is used and PGVECTOR_PASSWORD is not required
182+
- name: "PGVECTOR_USE_MSI"
183+
value: "{{ .Values.env.PGVECTOR_USE_MSI }}"
177184
# Configuration via Kubernetes secrets is required
178185
- name: "PGVECTOR_USER"
179186
value: "{{ .Values.secrets.PGVECTOR_USER }}"
@@ -205,7 +212,7 @@ admin-backend:
205212
# -- Maximum CPU limit for the container
206213
cpu: "1000m"
207214
# -- Maximum memory limit for the container
208-
memory: "4Gi"
215+
memory: "6Gi"
209216
requests:
210217
# -- Minimum CPU request for resource scheduling
211218
cpu: "100m"
@@ -256,6 +263,8 @@ admin-backend:
256263
PGVECTOR_PORT: "environment-specific"
257264
# -- Database name for PGVector
258265
PGVECTOR_DATABASE: "environment-specific"
266+
# -- Use Azure Managed Identity for PostgreSQL (set to "true" to use MSI instead of PGVECTOR_PASSWORD)
267+
PGVECTOR_USE_MSI: "false"
259268
# -- Connection string for Elasticsearch
260269
ELASTIC_CONNECTION_STRING: "environment-specific"
261270
# -- Index for Elasticsearch indicators
@@ -360,7 +369,7 @@ admin-frontend:
360369
# -- Maximum CPU limit for the container
361370
cpu: "1000m"
362371
# -- Maximum memory limit for the container
363-
memory: "2Gi"
372+
memory: "4Gi"
364373
requests:
365374
# -- Minimum CPU request for resource scheduling
366375
cpu: "500m"
@@ -665,12 +674,12 @@ portal-frontend:
665674
### Container Image Configuration ###
666675
# ref: https://kubernetes.io/docs/concepts/containers/images/
667676
image:
668-
# -- Docker registry URL (e.g., "docker.io")
669-
registry: "environment-specific"
670-
# -- Image repository name (e.g., "epam/statgpt-global-trusted-data-commons")
671-
repository: "environment-specific"
672-
# -- Image tag or version (e.g., "0.1.2")
673-
tag: "environment-specific"
677+
# -- Docker registry URL
678+
registry: docker.io
679+
# -- Image repository name
680+
repository: epam/statgpt-global-trusted-data-commons
681+
# -- Image tag or version
682+
tag: *portal-frontend_version
674683
# -- Image pull policy
675684
pullPolicy: Always
676685

ct.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ github-groups: true
1111
# Disable maintainer validation to allow custom URLs
1212
validate-maintainers: false
1313
# Increased timeout for heavy charts
14-
# helm-extra-args: --timeout 600s
14+
helm-extra-args: --timeout 600s

0 commit comments

Comments
 (0)