Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
contents: read

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ helm install [RELEASE_NAME] tock/tock --version 0.6.3

You will find more information on chart parameters at the helm chart [README](charts/tock/README.md).

The Tock documentation also describes how to [deploy Tock on Kubernetes](https://doc.tock.ai/tock/master/operate/kubernetes.html) with this chart.

## What is deployed

The chart deploys all tock components. It's also able to deploy a mongodb database (Bitnami mongoDb chart is used as subchart) or use an existing mongodb backend. In the same feeling, since version 24.3.2 of tock, open search can be deployed as a sub chart (opensearch chart is used as subchart) and since version 24.9.3 PGvector can be deployed as a sub chart (bitnami chart is used as subchart).
Expand Down
38 changes: 19 additions & 19 deletions charts/tock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A helm chart for Tock. Tock is an open conversational AI platform. It's a comple

The chart is distributed as an OCI Artifact as well as via a traditional Helm Repository.

- OCI Artifact: `oci://ghcr.io/theopenconversationkit/charts/`
- OCI Artifact: `oci://ghcr.io/theopenconversationkit/charts/tock`
- Helm Repository: `https://theopenconversationkit.github.io/tock-helm-chart/` with chart `tock`

## Install Chart
Expand Down Expand Up @@ -371,29 +371,29 @@ To use it , you have to apply the following ConfigMap to your cluster.
$ kubectl apply -f ./admin-web-auth-cfg.yaml
```

And set in your values file `adminWeb.authCongifMap` to `admin-web-auth-cfg` (configmap name)
And set in your values file `adminWeb.authConfigMap` to `admin-web-auth-cfg` (configmap name)

`admin-web-auth-cfg.yaml`

```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: admin-web-auth-cfg
labels:
app.kubernetes.io/name: admin-web-auth
app.kubernetes.io/component: admin-web
data:
tock_users: "alice@tock.ai,bob@tock.ai" # Credentials (separated by commas). Default value `admin@app.com`
tock_passwords: "secret1,secret2" # Password (separated by commas). Default value `password`
tock_organizations: "tock,tock" # Organizations (separated by commas). Default value `app``
tock_roles: "botUser,nlpUser|botUser|admin|technicalAdmin" # Roles separated | (and then by commas). Default value is empty."
```
kind: ConfigMap
metadata:
name: admin-web-auth-cfg
labels:
app.kubernetes.io/name: admin-web-auth
app.kubernetes.io/component: admin-web
data:
tock_users: "alice@tock.ai,bob@tock.ai" # Credentials (separated by commas). Default value `admin@app.com`
tock_passwords: "secret1,secret2" # Password (separated by commas). Default value `password`
tock_organizations: "tock,tock" # Organizations (separated by commas). Default value `app`
tock_roles: "botUser,nlpUser|botUser|admin|technicalAdmin" # Roles separated | (and then by commas). Default value is empty.
```

In this example, Alice has the role 'botUser', whereas Bob has all the roles.
To define the identities and roles of several users, separate their values with commas.

You can find more information about the roles in the [Tock documentation](https://doc.tock.ai/tock/fr/admin/securite/#r%C3%B4les)
You can find more information about the roles in the [Tock documentation](https://doc.tock.ai/tock/master/operate/security.html#roles)

## Deployment on arm64 and processor without AVX instructions

Expand All @@ -408,7 +408,7 @@ https://artifacthub.io/packages/helm/bitnami/mongodb/14.8.3
## Deployment sample on Rancher Desktop or k3s

```console
$ helm install mytock oci://registry.hub.docker.com/onelans/tock --version 0.4.4 -f ./rancher-values.yaml
$ helm install mytock oci://ghcr.io/theopenconversationkit/charts/tock --version 0.6.3 -f ./rancher-values.yaml
```

`rancher-values.yaml`
Expand Down Expand Up @@ -456,7 +456,7 @@ adminWeb:
## Deployment sample on GKE

```console
$ helm install mytock oci://registry.hub.docker.com/onelans/tock --version 0.4.4 -f ./gke-values.yaml
$ helm install mytock oci://ghcr.io/theopenconversationkit/charts/tock --version 0.6.3 -f ./gke-values.yaml
```

`gke-values.yaml`
Expand Down Expand Up @@ -504,10 +504,10 @@ This will enable the truststore and use the certificates from the specified Secr
You can create the Secret with the following command:

```console
kubectl create secret generic corp-root-ca --from-file=corp-root-ca.crt
kubectl create secret generic corp-root-cert --from-file=corp-root-ca.crt
```

This will create a Secret named `corp-root-ca` with the certificate file `corp-root-ca.crt`.
This will create a Secret named `corp-root-cert` with the certificate file `corp-root-ca.crt`.

## Solve langchain and tiktoken issues on on-premise deployments

Expand Down
38 changes: 19 additions & 19 deletions charts/tock/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

The chart is distributed as an OCI Artifact as well as via a traditional Helm Repository.

- OCI Artifact: `oci://ghcr.io/theopenconversationkit/charts/`
- OCI Artifact: `oci://ghcr.io/theopenconversationkit/charts/tock`
- Helm Repository: `https://theopenconversationkit.github.io/tock-helm-chart/` with chart `tock`

## Install Chart
Expand Down Expand Up @@ -53,29 +53,29 @@ To use it , you have to apply the following ConfigMap to your cluster.
$ kubectl apply -f ./admin-web-auth-cfg.yaml
```

And set in your values file `adminWeb.authCongifMap` to `admin-web-auth-cfg` (configmap name)
And set in your values file `adminWeb.authConfigMap` to `admin-web-auth-cfg` (configmap name)

`admin-web-auth-cfg.yaml`

```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: admin-web-auth-cfg
labels:
app.kubernetes.io/name: admin-web-auth
app.kubernetes.io/component: admin-web
data:
tock_users: "alice@tock.ai,bob@tock.ai" # Credentials (separated by commas). Default value `admin@app.com`
tock_passwords: "secret1,secret2" # Password (separated by commas). Default value `password`
tock_organizations: "tock,tock" # Organizations (separated by commas). Default value `app``
tock_roles: "botUser,nlpUser|botUser|admin|technicalAdmin" # Roles separated | (and then by commas). Default value is empty."
```
kind: ConfigMap
metadata:
name: admin-web-auth-cfg
labels:
app.kubernetes.io/name: admin-web-auth
app.kubernetes.io/component: admin-web
data:
tock_users: "alice@tock.ai,bob@tock.ai" # Credentials (separated by commas). Default value `admin@app.com`
tock_passwords: "secret1,secret2" # Password (separated by commas). Default value `password`
tock_organizations: "tock,tock" # Organizations (separated by commas). Default value `app`
tock_roles: "botUser,nlpUser|botUser|admin|technicalAdmin" # Roles separated | (and then by commas). Default value is empty.
```

In this example, Alice has the role 'botUser', whereas Bob has all the roles.
To define the identities and roles of several users, separate their values with commas.

You can find more information about the roles in the [Tock documentation](https://doc.tock.ai/tock/fr/admin/securite/#r%C3%B4les)
You can find more information about the roles in the [Tock documentation](https://doc.tock.ai/tock/master/operate/security.html#roles)

## Deployment on arm64 and processor without AVX instructions

Expand All @@ -90,7 +90,7 @@ https://artifacthub.io/packages/helm/bitnami/mongodb/14.8.3
## Deployment sample on Rancher Desktop or k3s

```console
$ helm install mytock oci://registry.hub.docker.com/onelans/{{ template "chart.name" . }} --version 0.4.4 -f ./rancher-values.yaml
$ helm install mytock oci://ghcr.io/theopenconversationkit/charts/tock --version {{ template "chart.version" . }} -f ./rancher-values.yaml
```

`rancher-values.yaml`
Expand Down Expand Up @@ -140,7 +140,7 @@ adminWeb:
## Deployment sample on GKE

```console
$ helm install mytock oci://registry.hub.docker.com/onelans/{{ template "chart.name" . }} --version 0.4.4 -f ./gke-values.yaml
$ helm install mytock oci://ghcr.io/theopenconversationkit/charts/tock --version {{ template "chart.version" . }} -f ./gke-values.yaml
```

`gke-values.yaml`
Expand Down Expand Up @@ -188,10 +188,10 @@ This will enable the truststore and use the certificates from the specified Secr
You can create the Secret with the following command:

```console
kubectl create secret generic corp-root-ca --from-file=corp-root-ca.crt
kubectl create secret generic corp-root-cert --from-file=corp-root-ca.crt
```

This will create a Secret named `corp-root-ca` with the certificate file `corp-root-ca.crt`.
This will create a Secret named `corp-root-cert` with the certificate file `corp-root-ca.crt`.

## Solve langchain and tiktoken issues on on-premise deployments

Expand Down
4 changes: 2 additions & 2 deletions charts/tock/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ botApi:
# -- Enable truststore for entreprise certificates
# @section -- botApi
enabled: false
# -- Secret that contains enterprise certificates. Create it with `kubectl create secret generic corp-root-cert --from-file=corp-root-ca.crt``
# -- Secret that contains enterprise certificates. Create it with `kubectl create secret generic corp-root-cert --from-file=corp-root-ca.crt`
# @section -- botApi
certSecret: "corp-root-cert"
image:
Expand Down Expand Up @@ -986,7 +986,7 @@ genAiOrchestrator:
# -- Enable truststore for entreprise certificates
# @section -- genAiOrchestrator
enabled: false
# -- Secret that contains enterprise certificates. Create it with `kubectl create secret generic corp-root-cert --from-file=corp-root-ca.crt``
# -- Secret that contains enterprise certificates. Create it with `kubectl create secret generic corp-root-cert --from-file=corp-root-ca.crt`
# @section -- genAiOrchestrator
certSecret: "corp-root-cert"
image:
Expand Down
2 changes: 1 addition & 1 deletion samples/values-rancher-arm-with-local-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ botApi:
adminWeb:
ingress:
enabled: true
authCongifMap: "admin-web-auth-cfg"
authConfigMap: "admin-web-auth-cfg"

mongodb:
architecture: "replicaset"
Expand Down
2 changes: 1 addition & 1 deletion samples/values-with-monodb-as-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ adminWeb:
deprecated: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
authCongifMap: "admin-web-auth-cfg"
authConfigMap: "admin-web-auth-cfg"
resources:
limits:
cpu: 1000m
Expand Down
Loading