diff --git a/charts/keep/README.md b/charts/keep/README.md index 7b603ee..b40d957 100644 --- a/charts/keep/README.md +++ b/charts/keep/README.md @@ -1,6 +1,6 @@ # keep -![Version: 0.1.18](https://img.shields.io/badge/Version-0.1.18-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.25.3](https://img.shields.io/badge/AppVersion-0.25.3-informational?style=flat-square) +![Version: 0.1.25](https://img.shields.io/badge/Version-0.1.25-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.26.1](https://img.shields.io/badge/AppVersion-0.26.1-informational?style=flat-square) Keep Helm Chart @@ -27,6 +27,13 @@ Keep Helm Chart | backend.autoscaling.minReplicas | int | `1` | | | backend.autoscaling.targetCPUUtilizationPercentage | int | `80` | | | backend.autoscaling.targetMemoryUtilizationPercentage | int | `80` | | +| backend.backendConfig.healthCheck.checkIntervalSec | int | `30` | | +| backend.backendConfig.healthCheck.healthyThreshold | int | `1` | | +| backend.backendConfig.healthCheck.path | string | `"/docs"` | | +| backend.backendConfig.healthCheck.port | int | `8080` | | +| backend.backendConfig.healthCheck.timeoutSec | int | `10` | | +| backend.backendConfig.healthCheck.type | string | `"HTTP"` | | +| backend.backendConfig.healthCheck.unhealthyThreshold | int | `3` | | | backend.databaseConnectionStringFromSecret.enabled | bool | `false` | | | backend.databaseConnectionStringFromSecret.secretKey | string | `""` | | | backend.databaseConnectionStringFromSecret.secretName | string | `""` | | @@ -37,18 +44,16 @@ Keep Helm Chart | backend.env[1].value | string | `"k8s"` | | | backend.env[2].name | string | `"PORT"` | | | backend.env[2].value | string | `"8080"` | | -| backend.env[3].name | string | `"SECRET_MANAGER_DIRECTORY"` | | -| backend.env[3].value | string | `"/state"` | | -| backend.env[4].name | string | `"PUSHER_APP_ID"` | | -| backend.env[4].value | int | `1` | | -| backend.env[5].name | string | `"PUSHER_APP_KEY"` | | -| backend.env[5].value | string | `"keepappkey"` | | -| backend.env[6].name | string | `"PUSHER_APP_SECRET"` | | -| backend.env[6].value | string | `"keepappsecret"` | | -| backend.env[7].name | string | `"PUSHER_HOST"` | | -| backend.env[7].value | string | `"keep-websocket"` | | -| backend.env[8].name | string | `"PUSHER_PORT"` | | -| backend.env[8].value | int | `6001` | | +| backend.env[3].name | string | `"PUSHER_APP_ID"` | | +| backend.env[3].value | int | `1` | | +| backend.env[4].name | string | `"PUSHER_APP_KEY"` | | +| backend.env[4].value | string | `"keepappkey"` | | +| backend.env[5].name | string | `"PUSHER_APP_SECRET"` | | +| backend.env[5].value | string | `"keepappsecret"` | | +| backend.env[6].name | string | `"PUSHER_HOST"` | | +| backend.env[6].value | string | `"keep-websocket"` | | +| backend.env[7].name | string | `"PUSHER_PORT"` | | +| backend.env[7].value | int | `6001` | | | backend.extraInitContainers | list | `[]` | | | backend.extraVolumeMounts | list | `[]` | | | backend.extraVolumes | list | `[]` | | @@ -59,15 +64,7 @@ Keep Helm Chart | backend.healthCheck.probes.readinessProbe.tcpSocket.port | int | `8080` | | | backend.image.pullPolicy | string | `"Always"` | | | backend.image.repository | string | `"us-central1-docker.pkg.dev/keephq/keep/keep-api"` | | -| backend.image.tag | string | `"{{ .Chart.AppVersion }}"` | | | backend.imagePullSecrets | list | `[]` | | -| backend.ingress.annotations | object | `{}` | | -| backend.ingress.className | string | `""` | | -| backend.ingress.enabled | bool | `true` | | -| backend.ingress.hosts[0].host | string | `"chart-example-backend.local"` | | -| backend.ingress.hosts[0].paths[0].path | string | `"/"` | | -| backend.ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | -| backend.ingress.tls | list | `[]` | | | backend.nodeSelector | object | `{}` | | | backend.openAiApi.enabled | bool | `false` | | | backend.openAiApi.openAiApiKey | string | `""` | | @@ -126,31 +123,28 @@ Keep Helm Chart | frontend.autoscaling.minReplicas | int | `1` | | | frontend.autoscaling.targetCPUUtilizationPercentage | int | `80` | | | frontend.autoscaling.targetMemoryUtilizationPercentage | int | `80` | | +| frontend.backendConfig.healthCheck.checkIntervalSec | int | `30` | | +| frontend.backendConfig.healthCheck.healthyThreshold | int | `1` | | +| frontend.backendConfig.healthCheck.path | string | `"/signin"` | | +| frontend.backendConfig.healthCheck.port | int | `3000` | | +| frontend.backendConfig.healthCheck.timeoutSec | int | `10` | | +| frontend.backendConfig.healthCheck.type | string | `"HTTP"` | | +| frontend.backendConfig.healthCheck.unhealthyThreshold | int | `3` | | | frontend.enabled | bool | `true` | | | frontend.env[0].name | string | `"NEXTAUTH_SECRET"` | | | frontend.env[0].value | string | `"secret"` | | -| frontend.env[10].name | string | `"PUSHER_PORT"` | | -| frontend.env[10].value | int | `6001` | | -| frontend.env[11].name | string | `"PUSHER_APP_KEY"` | | -| frontend.env[11].value | string | `"keepappkey"` | | | frontend.env[1].name | string | `"NEXTAUTH_URL"` | | | frontend.env[1].value | string | `"http://localhost:3000"` | | -| frontend.env[2].name | string | `"API_URL"` | | -| frontend.env[2].value | string | `"http://keep-backend:8080"` | | -| frontend.env[3].name | string | `"NEXT_PUBLIC_API_URL"` | | -| frontend.env[3].value | string | `""` | | -| frontend.env[4].name | string | `"NEXT_PUBLIC_POSTHOG_KEY"` | | -| frontend.env[4].value | string | `"phc_muk9qE3TfZsX3SZ9XxX52kCGJBclrjhkP9JxAQcm1PZ"` | | -| frontend.env[5].name | string | `"NEXT_PUBLIC_POSTHOG_HOST"` | | -| frontend.env[5].value | string | `"https://app.posthog.com"` | | -| frontend.env[6].name | string | `"ENV"` | | -| frontend.env[6].value | string | `"development"` | | -| frontend.env[7].name | string | `"NODE_ENV"` | | -| frontend.env[7].value | string | `"development"` | | -| frontend.env[8].name | string | `"HOSTNAME"` | | -| frontend.env[8].value | string | `"0.0.0.0"` | | -| frontend.env[9].name | string | `"PUSHER_HOST"` | | -| frontend.env[9].value | string | `"keep-websocket.default.svc.cluster.local"` | | +| frontend.env[2].name | string | `"VERCEL"` | | +| frontend.env[2].value | int | `1` | | +| frontend.env[3].name | string | `"ENV"` | | +| frontend.env[3].value | string | `"development"` | | +| frontend.env[4].name | string | `"NODE_ENV"` | | +| frontend.env[4].value | string | `"development"` | | +| frontend.env[5].name | string | `"HOSTNAME"` | | +| frontend.env[5].value | string | `"0.0.0.0"` | | +| frontend.env[6].name | string | `"PUSHER_APP_KEY"` | | +| frontend.env[6].value | string | `"keepappkey"` | | | frontend.healthCheck.enabled | bool | `false` | | | frontend.healthCheck.probes.livenessProbe.httpGet.path | string | `"/"` | | | frontend.healthCheck.probes.livenessProbe.httpGet.port | string | `"http"` | | @@ -158,15 +152,8 @@ Keep Helm Chart | frontend.healthCheck.probes.readinessProbe.httpGet.port | string | `"http"` | | | frontend.image.pullPolicy | string | `"Always"` | | | frontend.image.repository | string | `"us-central1-docker.pkg.dev/keephq/keep/keep-ui"` | | -| frontend.image.tag | string | `"{{ .Chart.AppVersion }}"` | | +| frontend.image.tag | string | `"feature_websocket-improve"` | | | frontend.imagePullSecrets | list | `[]` | | -| frontend.ingress.annotations | object | `{}` | | -| frontend.ingress.className | string | `""` | | -| frontend.ingress.enabled | bool | `true` | | -| frontend.ingress.hosts[0].host | string | `"chart-example.local"` | | -| frontend.ingress.hosts[0].paths[0].path | string | `"/"` | | -| frontend.ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | -| frontend.ingress.tls | list | `[]` | | | frontend.nodeSelector | object | `{}` | | | frontend.podAnnotations | object | `{}` | | | frontend.podSecurityContext | object | `{}` | | @@ -185,6 +172,26 @@ Keep Helm Chart | frontend.serviceAccount.name | string | `""` | | | frontend.tolerations | list | `[]` | | | fullnameOverride | string | `""` | | +| global.ingress.annotations | object | `{}` | | +| global.ingress.backendPrefix | string | `"/apinew"` | | +| global.ingress.className | string | `"nginx"` | | +| global.ingress.enabled | bool | `true` | | +| global.ingress.frontendPrefix | string | `"/"` | | +| global.ingress.hosts | list | `[]` | | +| global.ingress.tls | list | `[]` | | +| global.ingress.websocketPrefix | string | `"/websocket"` | | +| ingress-nginx.controller.admissionWebhooks.certManager.enabled | bool | `false` | | +| ingress-nginx.controller.admissionWebhooks.failurePolicy | string | `"Ignore"` | | +| ingress-nginx.controller.admissionWebhooks.patch.enabled | bool | `true` | | +| ingress-nginx.controller.admissionWebhooks.patch.image.pullPolicy | string | `"IfNotPresent"` | | +| ingress-nginx.controller.allowSnippetAnnotations | bool | `true` | | +| ingress-nginx.controller.service.annotations | object | `{}` | | +| ingress-nginx.controller.service.enabled | bool | `true` | | +| ingress-nginx.controller.service.ports.http | int | `80` | | +| ingress-nginx.controller.service.ports.https | int | `443` | | +| ingress-nginx.controller.service.type | string | `"LoadBalancer"` | | +| ingress-nginx.enabled | bool | `true` | | +| isGKE | bool | `false` | | | nameOverride | string | `""` | | | namespace | string | `"default"` | | | serviceAccount.annotations | object | `{}` | | @@ -197,14 +204,18 @@ Keep Helm Chart | websocket.autoscaling.targetCPUUtilizationPercentage | int | `80` | | | websocket.autoscaling.targetMemoryUtilizationPercentage | int | `80` | | | websocket.enabled | bool | `true` | | -| websocket.env[0].name | string | `"SOKETI_USER_AUTHENTICATION_TIMEOUT"` | | -| websocket.env[0].value | int | `3000` | | -| websocket.env[1].name | string | `"SOKETI_DEFAULT_APP_ID"` | | -| websocket.env[1].value | int | `1` | | -| websocket.env[2].name | string | `"SOKETI_DEFAULT_APP_KEY"` | | -| websocket.env[2].value | string | `"keepappkey"` | | -| websocket.env[3].name | string | `"SOKETI_DEFAULT_APP_SECRET"` | | -| websocket.env[3].value | string | `"keepappsecret"` | | +| websocket.env[0].name | string | `"SOKETI_HOST"` | | +| websocket.env[0].value | string | `"0.0.0.0"` | | +| websocket.env[1].name | string | `"SOKETI_DEBUG"` | | +| websocket.env[1].value | string | `"1"` | | +| websocket.env[2].name | string | `"SOKETI_USER_AUTHENTICATION_TIMEOUT"` | | +| websocket.env[2].value | int | `3000` | | +| websocket.env[3].name | string | `"SOKETI_DEFAULT_APP_ID"` | | +| websocket.env[3].value | int | `1` | | +| websocket.env[4].name | string | `"SOKETI_DEFAULT_APP_KEY"` | | +| websocket.env[4].value | string | `"keepappkey"` | | +| websocket.env[5].name | string | `"SOKETI_DEFAULT_APP_SECRET"` | | +| websocket.env[5].value | string | `"keepappsecret"` | | | websocket.healthCheck.enabled | bool | `false` | | | websocket.healthCheck.probes.livenessProbe.httpGet.path | string | `"/"` | | | websocket.healthCheck.probes.livenessProbe.httpGet.port | string | `"http"` | | @@ -219,6 +230,10 @@ Keep Helm Chart | websocket.podSecurityContext | object | `{}` | | | websocket.replicaCount | int | `1` | | | websocket.resources | object | `{}` | | +| websocket.route.enabled | bool | `false` | | +| websocket.route.host | string | `"chart-example.local"` | | +| websocket.route.tls | list | `[]` | | +| websocket.route.wildcardPolicy | string | `"None"` | | | websocket.securityContext | object | `{}` | | | websocket.service.port | int | `6001` | | | websocket.service.type | string | `"ClusterIP"` | | diff --git a/charts/keep/templates/nginx-ingress.yaml b/charts/keep/templates/nginx-ingress.yaml index b6d2fc7..61061d0 100644 --- a/charts/keep/templates/nginx-ingress.yaml +++ b/charts/keep/templates/nginx-ingress.yaml @@ -23,7 +23,7 @@ metadata: {{- if $.Values.websocket.enabled }} location ^~ {{ .Values.global.ingress.websocketPrefix }} { rewrite ^{{ .Values.global.ingress.websocketPrefix }}(/|$)(.*) /$2 break; - proxy_pass http://{{ $fullName }}-websocket:{{ $.Values.websocket.service.port }}; + proxy_pass http://{{ $fullName }}-websocket.{{ .Release.Namespace }}.svc.cluster.local:{{ $.Values.websocket.service.port }}; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -113,4 +113,4 @@ spec: port: number: {{ $.Values.frontend.service.port }} {{- end }} -{{- end }} +{{- end }} \ No newline at end of file