Skip to content

Commit fc7e98c

Browse files
chore: add default-values.yaml for chart testing and update base values.yaml (#25)
1 parent f43892e commit fc7e98c

File tree

4 files changed

+260
-65
lines changed

4 files changed

+260
-65
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.6
57+
version: 1.0.7

charts/statgpt/README.md

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

3-
![Version: 1.0.6](https://img.shields.io/badge/Version-1.0.6-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
3+
![Version: 1.0.7](https://img.shields.io/badge/Version-1.0.7-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

@@ -103,18 +103,20 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
103103
| admin-backend.containerPorts.http | int | `8000` | HTTP port for the application |
104104
| admin-backend.enabled | bool | `false` | Indicates whether the admin-backend service is enabled |
105105
| admin-backend.env.ADMIN_MODE | string | `"APP"` | Application mode for admin settings |
106-
| admin-backend.env.ADMIN_ROLES_CLAIM | string | `"environment-specific"` | Claim used to identify user roles |
107-
| admin-backend.env.ADMIN_ROLES_VALUES | string | `"environment-specific"` | Values within the role claim that signify admin access |
108-
| admin-backend.env.ADMIN_SCOPE_CLAIM_VALIDATION_ENABLED | string | `"environment-specific"` | If "true", the admin portal will check for scopes in the OIDC token, otherwise this check will be skipped |
106+
| admin-backend.env.ADMIN_ROLES_CLAIM | string | `"environment-specific"` | Claim used to identify user roles (required if OIDC_AUTH_ENABLED="true") |
107+
| admin-backend.env.ADMIN_ROLES_VALUES | string | `"environment-specific"` | Values within the role claim that signify admin access (required if OIDC_AUTH_ENABLED="true") |
108+
| admin-backend.env.ADMIN_SCOPE_CLAIM | string | `"environment-specific"` | Name of the access token field (required if OIDC_AUTH_ENABLED="true" and ADMIN_SCOPE_CLAIM_VALIDATION_ENABLED="true") |
109+
| admin-backend.env.ADMIN_SCOPE_CLAIM_VALIDATION_ENABLED | string | `"true"` | If "true", the admin portal will check for scopes in the OIDC token, otherwise this check will be skipped |
110+
| admin-backend.env.ADMIN_SCOPE_VALUE | string | `"environment-specific"` | Scope claim value (required if OIDC_AUTH_ENABLED="true" and ADMIN_SCOPE_CLAIM_VALIDATION_ENABLED="true") |
109111
| admin-backend.env.DIAL_URL | string | `"environment-specific"` | URL for DIAL application |
110112
| admin-backend.env.ELASTIC_CONNECTION_STRING | string | `"environment-specific"` | Connection string for Elasticsearch |
111113
| admin-backend.env.ELASTIC_INDICATORS_INDEX | string | `"environment-specific"` | Index for Elasticsearch indicators |
112114
| admin-backend.env.ELASTIC_MATCHING_INDEX | string | `"environment-specific"` | Index for Elasticsearch matching |
113-
| admin-backend.env.OIDC_AUTH_ENABLED | string | `"environment-specific"` | Enable or disable OIDC authentication |
114-
| admin-backend.env.OIDC_CLIENT_ID | string | `"environment-specific"` | Client ID for OIDC authentication |
115-
| admin-backend.env.OIDC_CONFIGURATION_ENDPOINT | string | `"environment-specific"` | URL to fetch OIDC configuration |
116-
| admin-backend.env.OIDC_ISSUER | string | `"environment-specific"` | OIDC issuer URL |
117-
| admin-backend.env.OIDC_USERNAME_CLAIM | string | `"environment-specific"` | Specify claim used for the username extraction |
115+
| admin-backend.env.OIDC_AUTH_ENABLED | string | `"true"` | Enable or disable OIDC authentication |
116+
| admin-backend.env.OIDC_CLIENT_ID | string | `"environment-specific"` | Client ID for OIDC authentication (required if OIDC_AUTH_ENABLED="true") |
117+
| admin-backend.env.OIDC_CONFIGURATION_ENDPOINT | string | `"environment-specific"` | URL to fetch OIDC configuration (required if OIDC_AUTH_ENABLED="true") |
118+
| admin-backend.env.OIDC_ISSUER | string | `"environment-specific"` | OIDC issuer URL (required if OIDC_AUTH_ENABLED="true") |
119+
| admin-backend.env.OIDC_USERNAME_CLAIM | string | `"environment-specific"` | Specify claim used for the username extraction (required if OIDC_AUTH_ENABLED="true") |
118120
| admin-backend.env.PGVECTOR_DATABASE | string | `"environment-specific"` | Database name for PGVector |
119121
| admin-backend.env.PGVECTOR_HOST | string | `"environment-specific"` | Host for PGVector database |
120122
| admin-backend.env.PGVECTOR_PORT | string | `"environment-specific"` | Port for PGVector database |
@@ -123,6 +125,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
123125
| admin-backend.image.registry | string | `"docker.io"` | Docker registry URL |
124126
| admin-backend.image.repository | string | `"epam/statgpt-admin-backend"` | Image repository name |
125127
| admin-backend.image.tag | string | `"0.1.0"` | Image tag or version |
128+
| 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/ |
126129
| 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 |
127130
| admin-backend.ingress.enabled | bool | `false` | Enable Ingress resource |
128131
| admin-backend.ingress.ingressClassName | string | `"nginx"` | Specify the Ingress class name |
@@ -153,10 +156,11 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
153156
| admin-backend.resources.limits.memory | string | `"4Gi"` | Maximum memory limit for the container |
154157
| admin-backend.resources.requests.cpu | string | `"100m"` | Minimum CPU request for resource scheduling |
155158
| admin-backend.resources.requests.memory | string | `"2Gi"` | Minimum memory request for resource scheduling |
159+
| admin-backend.secrets | object | `{}` | |
156160
| admin-frontend.commonLabels."app.kubernetes.io/component" | string | `"application"` | Kubernetes label to identify the component as an application |
157161
| admin-frontend.containerPorts.http | int | `3000` | HTTP port for the application |
158162
| admin-frontend.enabled | bool | `false` | Indicates whether the admin-frontend service is enabled |
159-
| admin-frontend.env.API_URL | string | `"environment-specific"` | API URL for admin backend |
163+
| admin-frontend.env.API_URL | string | `"environment-specific"` | API URL for admin-backend |
160164
| admin-frontend.env.DIAL_API_URL | string | `"environment-specific"` | DIAL API URL |
161165
| admin-frontend.env.NEXTAUTH_URL | string | `"environment-specific"` | URL for NextAuth service |
162166
| admin-frontend.image.pullPolicy | string | `"Always"` | Image pull policy |
@@ -179,6 +183,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
179183
| admin-frontend.resources.limits.memory | string | `"2Gi"` | Maximum memory limit for the container |
180184
| admin-frontend.resources.requests.cpu | string | `"500m"` | Minimum CPU request for resource scheduling |
181185
| admin-frontend.resources.requests.memory | string | `"0.5Gi"` | Minimum memory request for resource scheduling |
186+
| admin-frontend.secrets | object | `{}` | |
182187
| chat-backend.commonLabels."app.kubernetes.io/component" | string | `"application"` | Kubernetes label to identify the component as an application |
183188
| chat-backend.containerPorts.http | int | `5000` | HTTP port for the application |
184189
| chat-backend.enabled | bool | `false` | Indicates whether the chat-backend service is enabled |
@@ -211,6 +216,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
211216
| chat-backend.resources.limits.memory | string | `"4Gi"` | Maximum memory limit for the container |
212217
| chat-backend.resources.requests.cpu | string | `"100m"` | Minimum CPU request for resource scheduling |
213218
| chat-backend.resources.requests.memory | string | `"2Gi"` | Minimum memory request for resource scheduling |
219+
| chat-backend.secrets | object | `{}` | |
214220
| elasticsearch.coordinating.replicaCount | int | `0` | Number of coordinating node replicas |
215221
| elasticsearch.data.replicaCount | int | `0` | Number of data node replicas |
216222
| elasticsearch.enabled | bool | `false` | Indicates whether the elasticsearch service is enabled |
@@ -226,11 +232,12 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
226232
| elasticsearch.master.resources.requests.cpu | string | `"500m"` | Minimum CPU request for resource scheduling |
227233
| elasticsearch.master.resources.requests.memory | string | `"0.5Gi"` | Minimum memory request for resource scheduling |
228234
| elasticsearch.metrics.image.repository | string | `"bitnamilegacy/elasticsearch-exporter"` | Fix: override deprecated repository with the updated one |
229-
| elasticsearch.security.enabled | bool | `false` | Enable security features |
235+
| elasticsearch.security.enabled | bool | `true` | Enable security features |
230236
| elasticsearch.security.tls | object | `{"autoGenerated":true}` | Auto-generate TLS certificates |
231237
| elasticsearch.sysctlImage.repository | string | `"bitnamilegacy/os-shell"` | Fix: override deprecated repository with the updated one |
232238
| elasticsearch.volumePermissions.image.repository | string | `"bitnamilegacy/os-shell"` | Fix: override deprecated repository with the updated one |
233239
| pgvector.auth.database | string | `"statgpt"` | Database name |
240+
| pgvector.auth.username | string | `"statgpt"` | Custom database username |
234241
| pgvector.enabled | bool | `false` | Indicates whether the pgvector service is enabled |
235242
| pgvector.image.registry | string | `"docker.io"` | Docker registry URL |
236243
| pgvector.image.repository | string | `"bitnamilegacy/postgresql"` | Image repository name |
@@ -250,9 +257,11 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
250257
| portal-frontend.commonLabels."app.kubernetes.io/component" | string | `"application"` | Kubernetes label to identify the component as an application |
251258
| portal-frontend.containerPorts.http | int | `3000` | HTTP port for the application |
252259
| portal-frontend.enabled | bool | `false` | Indicates whether the portal-frontend service is enabled |
260+
| portal-frontend.env.CONSTRAINS_SDMX_API_URL | string | `"environment-specific"` | SDMX Constrains API URL |
253261
| portal-frontend.env.DEFAULT_MODEL | string | `"environment-specific"` | Default model |
254262
| portal-frontend.env.DIAL_API_URL | string | `"environment-specific"` | DIAL API URL |
255263
| portal-frontend.env.DIAL_API_VERSION | string | `"environment-specific"` | DIAL API Version |
264+
| portal-frontend.env.NEXTAUTH_URL | string | `"environment-specific"` | URL for NextAuth service |
256265
| portal-frontend.env.SDMX_API_URL | string | `"environment-specific"` | SDMX API URL |
257266
| portal-frontend.image.pullPolicy | string | `"Always"` | Image pull policy |
258267
| portal-frontend.image.registry | string | `"environment-specific"` | Docker registry URL (e.g., "docker.io") |
@@ -274,6 +283,7 @@ helm install my-release . --namespace my-namespace --values values.yaml --set ad
274283
| portal-frontend.resources.limits.memory | string | `"4Gi"` | Maximum memory limit for the container |
275284
| portal-frontend.resources.requests.cpu | string | `"100m"` | Minimum CPU request for resource scheduling |
276285
| portal-frontend.resources.requests.memory | string | `"0.5Gi"` | Minimum memory request for resource scheduling |
286+
| portal-frontend.secrets | object | `{}` | |
277287

278288
--------------------------------------------------
279289
Generated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs): `docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest`
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
chat-backend:
2+
enabled: true
3+
fullnameOverride: "statgpt-chat-backend"
4+
resources:
5+
limits:
6+
cpu: "500m"
7+
memory: "1Gi"
8+
requests:
9+
cpu: "100m"
10+
memory: "0.5Gi"
11+
env:
12+
DIAL_URL: &DIAL_URL "http://dial-core"
13+
PGVECTOR_HOST: &PGVECTOR_HOST "statgpt-pgvector"
14+
PGVECTOR_PORT: &PGVECTOR_PORT "5432"
15+
PGVECTOR_DATABASE: &PGVECTOR_DATABASE "statgpt"
16+
ELASTIC_CONNECTION_STRING: &ELASTIC_CONNECTION_STRING "http://statgpt-elasticsearch:9200"
17+
ELASTIC_INDICATORS_INDEX: &ELASTIC_INDICATORS_INDEX "statgpt-test-indicators"
18+
ELASTIC_MATCHING_INDEX: &ELASTIC_MATCHING_INDEX "statgpt-test-matching"
19+
secrets:
20+
DIAL_API_KEY: &DIAL_API_KEY "DIAL_API_KEY"
21+
PGVECTOR_USER: &PGVECTOR_USER "statgpt"
22+
PGVECTOR_PASSWORD: &PGVECTOR_PASSWORD "password"
23+
ELASTIC_AUTH_USER: &ELASTIC_AUTH_USER "elastic"
24+
ELASTIC_AUTH_PASSWORD: &ELASTIC_AUTH_PASSWORD "password"
25+
26+
admin-backend:
27+
enabled: true
28+
fullnameOverride: "statgpt-admin-backend"
29+
resources:
30+
limits:
31+
cpu: "500m"
32+
memory: "1Gi"
33+
requests:
34+
cpu: "100m"
35+
memory: "0.5Gi"
36+
env:
37+
OIDC_AUTH_ENABLED: "false"
38+
ADMIN_SCOPE_CLAIM_VALIDATION_ENABLED: "false"
39+
DIAL_URL: *DIAL_URL
40+
PGVECTOR_HOST: *PGVECTOR_HOST
41+
PGVECTOR_PORT: *PGVECTOR_PORT
42+
PGVECTOR_DATABASE: *PGVECTOR_DATABASE
43+
ELASTIC_CONNECTION_STRING: *ELASTIC_CONNECTION_STRING
44+
ELASTIC_INDICATORS_INDEX: *ELASTIC_INDICATORS_INDEX
45+
ELASTIC_MATCHING_INDEX: *ELASTIC_MATCHING_INDEX
46+
secrets:
47+
DIAL_API_KEY: *DIAL_API_KEY
48+
PGVECTOR_USER: *PGVECTOR_USER
49+
PGVECTOR_PASSWORD: *PGVECTOR_PASSWORD
50+
ELASTIC_AUTH_USER: *ELASTIC_AUTH_USER
51+
ELASTIC_AUTH_PASSWORD: *ELASTIC_AUTH_PASSWORD
52+
53+
admin-frontend:
54+
enabled: true
55+
fullnameOverride: "statgpt-admin-frontend"
56+
resources:
57+
limits:
58+
cpu: "500m"
59+
memory: "1Gi"
60+
requests:
61+
cpu: "250m"
62+
memory: "0.25Gi"
63+
env:
64+
DIAL_API_URL: *DIAL_URL
65+
API_URL: "http://statgpt-admin-backend/admin"
66+
NEXTAUTH_URL: "http://statgpt-admin-frontend"
67+
secrets:
68+
DIAL_API_KEY: *DIAL_API_KEY
69+
NEXTAUTH_SECRET: "NEXTAUTH_SECRET"
70+
71+
pgvector:
72+
enabled: true
73+
fullnameOverride: "statgpt-pgvector"
74+
primary:
75+
resources:
76+
limits:
77+
cpu: "1"
78+
memory: "1Gi"
79+
requests:
80+
cpu: "250m"
81+
memory: "0.5Gi"
82+
auth:
83+
database: *PGVECTOR_DATABASE
84+
postgresPassword: "postgresPassword"
85+
username: *PGVECTOR_USER
86+
password: *PGVECTOR_PASSWORD
87+
88+
elasticsearch:
89+
enabled: true
90+
fullnameOverride: "statgpt-elasticsearch"
91+
master:
92+
heapSize: 128m
93+
resources:
94+
limits:
95+
cpu: "500m"
96+
memory: "0.5Gi"
97+
requests:
98+
cpu: "250m"
99+
memory: "0.25Gi"
100+
security:
101+
enabled: true
102+
elasticPassword: *ELASTIC_AUTH_PASSWORD
103+
104+
portal-frontend:
105+
enabled: false

0 commit comments

Comments
 (0)