diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fc0566..edeb5b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.1 + +### Changes + +* Released ONLYOFFICE Docs [v8.1.3](https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#813) + ## 1.0.0 * Initial release diff --git a/Chart.yaml b/Chart.yaml index 47adb23..8dbbccd 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -4,9 +4,9 @@ description: Helm chart for installing ONLYOFFICE Docs Shards in Kubernetes type: application -version: 1.0.0 +version: 1.0.1 -appVersion: 8.1.1 +appVersion: 8.1.3 dependencies: - name: ingress-nginx diff --git a/README.md b/README.md index e470660..4be1f40 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ ONLYOFFICE Docs for Kubernetes - You must have a Kubernetes cluster installed. Please, checkout [the reference](https://kubernetes.io/docs/setup/) to set up Kubernetes. - You should also have a local configured copy of `kubectl`. See [this](https://kubernetes.io/docs/tasks/tools/install-kubectl/) guide how to install and configure `kubectl`. -- You should install Helm v3.7+. Please follow the instruction [here](https://helm.sh/docs/intro/install/) to install it. +- You should install Helm v3.15+. Please follow the instruction [here](https://helm.sh/docs/intro/install/) to install it. ## Deploy prerequisites @@ -390,11 +390,13 @@ The `helm delete` command removes all the Kubernetes components associated with | `documentserver.autoscaling.customMetricsType` | Custom, additional or external autoscaling metrics for the documentserver deployment | `[]` | | `documentserver.autoscaling.behavior` | Configuring Documentserver deployment scaling behavior policies for the `scaleDown` and `scaleUp` fields | `{}` | | `documentserver.initContainers.image.repository` | Documentserver add-shardkey initContainer image repository | `onlyoffice/docs-utils` | -| `documentserver.initContainers.image.tag` | Documentserver add-shardkey initContainer image tag | `8.1.1-2` | +| `documentserver.initContainers.image.tag` | Documentserver add-shardkey initContainer image tag | `8.1.3-1` | | `documentserver.initContainers.image.pullPolicy` | Documentserver add-shardkey initContainer image pull policy | `IfNotPresent` | | `documentserver.initContainers.containerSecurityContext.enabled` | Configure a Security Context for Documentserver add-shardkey initContainer container in Pod | `false` | -| `documentserver.initContainers.resources.requests` | The requested resources for the Documentserver add-shardkey initContainer | `{}` | -| `documentserver.initContainers.resources.limits` | The resources limits for the Documentserver add-shardkey initContainer | `{}` | +| `documentserver.initContainers.resources.requests.memory` | The requested Memory for the Documentserver add-shardkey initContainer | `256Mi` | +| `documentserver.initContainers.resources.requests.cpu` | The requested CPU for the Documentserver add-shardkey initContainer | `100m` | +| `documentserver.initContainers.resources.limits.memory` | The Memory limits for the Documentserver add-shardkey initContainer | `1Gi` | +| `documentserver.initContainers.resources.limits.cpu` | The CPU limits for the Documentserver add-shardkey initContainer | `1000m` | | `documentserver.initContainers.custom` | Custom Documentserver initContainers parameters | `[]` | ### documentserver.docservice parameters @@ -402,15 +404,17 @@ The `helm delete` command removes all the Kubernetes components associated with | Parameter | Description | Default | |-------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | `documentserver.docservice.image.repository` | Docservice container image repository* | `onlyoffice/docs-docservice-de` | -| `documentserver.docservice.image.tag` | Docservice container image tag | `8.1.1-2` | +| `documentserver.docservice.image.tag` | Docservice container image tag | `8.1.3-1` | | `documentserver.docservice.image.pullPolicy` | Docservice container image pull policy | `IfNotPresent` | | `documentserver.docservice.containerSecurityContext.enabled`| Enable security context for the Docservice container | `false` | | `documentserver.docservice.containerPorts.http` | Define docservice container port | `8000` | | `documentserver.docservice.readinessProbe.enabled` | Enable readinessProbe for Docservice container | `true` | | `documentserver.docservice.livenessProbe.enabled` | Enable livenessProbe for Docservice container | `true` | | `documentserver.docservice.startupProbe.enabled` | Enable startupProbe for Docservice container | `true` | -| `documentserver.docservice.resources.requests` | The requested resources for the Docservice container | `{}` | -| `documentserver.docservice.resources.limits` | The resources limits for the Docservice container | `{}` | +| `documentserver.docservice.resources.requests.memory` | The requested Memory for the Docservice container | `256Mi` | +| `documentserver.docservice.resources.requests.cpu` | The requested CPU for the Docservice container | `100m` | +| `documentserver.docservice.resources.limits.memory` | The Memory limits for the Docservice container | `4Gi` | +| `documentserver.docservice.resources.limits.CPU` | The CPU limits for the Docservice container | `4000m` | ### documentserver.proxy parameters @@ -430,12 +434,14 @@ The `helm delete` command removes all the Kubernetes components associated with | `documentserver.proxy.infoAllowedExistingSecret` | Name of existing secret to use for info auth password. Used if `proxy.infoAllowedUser` is set. Must contain the key specified in `proxy.infoAllowedSecretKeyName`. If set to, it takes priority over the `proxy.infoAllowedPassword` | `""` | | `documentserver.proxy.welcomePage.enabled` | Defines whether the welcome page will be displayed | `true` | | `documentserver.proxy.image.repository` | Docservice Proxy container image repository* | `onlyoffice/docs-proxy-de` | -| `documentserver.proxy.image.tag` | Docservice Proxy container image tag | `8.1.1-2` | +| `documentserver.proxy.image.tag` | Docservice Proxy container image tag | `8.1.3-1` | | `documentserver.proxy.image.pullPolicy` | Docservice Proxy container image pull policy | `IfNotPresent` | | `documentserver.proxy.containerSecurityContext.enabled` | Enable security context for the Proxy container | `false` | | `documentserver.proxy.containerPorts.http` | proxy container port | `8888` | -| `documentserver.proxy.resources.requests` | The requested resources for the Proxy container | `{}` | -| `documentserver.proxy.resources.limits` | The resources limits for the Proxy container | `{}` | +| `documentserver.proxy.resources.requests.memory` | The requested Memory for the Proxy container | `256Mi` | +| `documentserver.proxy.resources.requests.cpu` | The requested CPU for the Proxy container | `100m` | +| `documentserver.proxy.resources.limits.memory` | The Memory limits for the Proxy container | `4Gi` | +| `documentserver.proxy.resources.limits.cpu` | The CPU limits for the Proxy container | `4000m` | | `documentserver.proxy.readinessProbe.enabled` | Enable readinessProbe for Proxy container | `true` | | `documentserver.proxy.livenessProbe.enabled` | Enable livenessProbe for Proxy container | `true` | | `documentserver.proxy.startupProbe.enabled` | Enable startupProbe for Proxy container | `true` | @@ -446,11 +452,13 @@ The `helm delete` command removes all the Kubernetes components associated with |-------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | `documentserver.converter.count` | The mumber of Converter containers in the Documentserver Pod | `3` | | `documentserver.converter.image.repository` | Converter container image repository* | `onlyoffice/docs-converter-de` | -| `documentserver.converter.image.tag` | Converter container image tag | `8.1.1-2` | +| `documentserver.converter.image.tag` | Converter container image tag | `8.1.3-1` | | `documentserver.converter.image.pullPolicy` | Converter container image pull policy | `IfNotPresent` | | `documentserver.converter.containerSecurityContext.enabled` | Enable security context for the Converter container | `false` | -| `documentserver.converter.resources.requests` | The requested resources for the Converter container | `{}` | -| `documentserver.converter.resources.limits` | The resources limits for the Converter container | `{}` | +| `documentserver.converter.resources.requests.memory` | The requested Memory for the Converter container | `256Mi` | +| `documentserver.converter.resources.requests.cpu` | The requested CPU for the Converter container | `200m` | +| `documentserver.converter.resources.limits.memory` | The Memory limits for the Converter container | `4Gi` | +| `documentserver.converter.resources.limits.cpu` | The CPU limits for the Converter container | `4000m` | ### documentserver.postgresql parameters @@ -463,8 +471,10 @@ List of parameters for customizing the database inside the documentserver pod | `documentserver.postgresql.image.pullPolicy` | Postgresql container image pull policy | `IfNotPresent` | | `documentserver.postgresql.containerSecurityContext.enabled`| Enable security context for the Postgresql container | `false` | | `documentserver.postgresql.containerPorts.tcp` | Postgresql container port | `5432` | -| `documentserver.postgresql.resources.requests` | The requested resources for the Postgresql container | `{}` | -| `documentserver.postgresql.resources.limits` | The resources limits for the Postgresql container | `{}` | +| `documentserver.postgresql.resources.requests.memory` | The requested Memory for the Postgresql container | `256Mi` | +| `documentserver.postgresql.resources.requests.cpu ` | The requested CPU for the Postgresql container | `200m` | +| `documentserver.postgresql.resources.limits.memory` | The Memory limits for the Postgresql container | `4Gi` | +| `documentserver.postgresql.resources.limits.cpu` | The CPU limits for the Postgresql container | `4000m` | ### documentserver.rabbitmq parameters @@ -477,8 +487,10 @@ List of parameters for broker inside the documentserver pod | `documentserver.rabbitmq.image.pullPolicy` | Rabbitmq container image pull policy | `ifNotPresent` | | `documentserver.rabbitmq.containerSecurityContext.enabled` | Enable security context for the Rabbitmq container | `false` | | `documentserver.rabbitmq.containerPorts.amqp` | Rabbitmq container port | `5672` | -| `documentserver.rabbitmq.resources.requests` | The requested resources for the Rabbitmq container | `{}` | -| `documentserver.rabbitmq.resources.limits` | The resources limits for the Rabbitmq container | `{}` | +| `documentserver.rabbitmq.resources.requests.memory` | The requested Memory for the Rabbitmq container | `256Mi` | +| `documentserver.rabbitmq.resources.requests.cpu` | The requested CPU for the Rabbitmq container | `200m` | +| `documentserver.rabbitmq.resources.limits.memory` | The Memory limits for the Rabbitmq container | `4Gi` | +| `documentserver.rabbitmq.resources.limits.cpu` | The CPU limits for the Rabbitmq container | `4000m` | ### Example parameters @@ -494,7 +506,7 @@ List of parameters for broker inside the documentserver pod | `example.nodeSelector` | Node labels for Example Pods assignment. If set to, it takes priority over the `nodeSelector` | `{}` | | `example.tolerations` | Tolerations for Example Pods assignment. If set to, it takes priority over the `tolerations` | `[]` | | `example.image.repository` | Example container image name | `onlyoffice/docs-example` | -| `example.image.tag` | Example container image tag | `8.1.1-2` | +| `example.image.tag` | Example container image tag | `8.1.3-1` | | `example.image.pullPolicy` | Example container image pull policy | `IfNotPresent` | | `example.containerSecurityContext.enabled` | Enable security context for the Example container | `false` | | `example.dsUrl` | ONLYOFFICE Docs external address. It should be changed only if it is necessary to check the operation of the conversion in Example (e.g. http://\/) | `/` | @@ -532,7 +544,7 @@ List of parameters for broker inside the documentserver pod | `grafanaDashboard.job.nodeSelector` | Node labels for Grafana Dashboard Job Pod assignment. If set to, it takes priority over the `nodeSelector` | `{}` | | `grafanaDashboard.job.tolerations` | Tolerations for Grafana Dashboard Job Pod assignment. If set to, it takes priority over the `tolerations` | `[]` | | `grafanaDashboard.job.image.repository` | Job by Grafana Dashboard ONLYOFFICE Docs image repository | `onlyoffice/docs-utils` | -| `grafanaDashboard.job.image.tag` | Job by Grafana Dashboard ONLYOFFICE Docs image tag | `8.1.1-2` | +| `grafanaDashboard.job.image.tag` | Job by Grafana Dashboard ONLYOFFICE Docs image tag | `8.1.3-1` | | `grafanaDashboard.job.image.pullPolicy` | Job by Grafana Dashboard ONLYOFFICE Docs image pull policy | `IfNotPresent` | | `grafanaDashboard.job.containerSecurityContext.enabled` | Enable security context for the Grafana Dashboard container | `false` | | `grafanaDashboard.job.resources.requests` | The requested resources for the job Grafana Dashboard container | `{}` | @@ -550,7 +562,7 @@ List of parameters for broker inside the documentserver pod | `tests.nodeSelector` | Node labels for Test Pod assignment. If set to, it takes priority over the `nodeSelector` | `{}` | | `tests.tolerations` | Tolerations for Test Pod assignment. If set to, it takes priority over the `tolerations` | `[]` | | `tests.image.repository` | Test container image name | `onlyoffice/docs-utils` | -| `tests.image.tag` | Test container image tag | `8.1.1-2` | +| `tests.image.tag` | Test container image tag | `8.1.3-1` | | `tests.image.pullPolicy` | Test container image pull policy | `IfNotPresent` | | `tests.containerSecurityContext.enabled` | Enable security context for the Test container | `false` | | `tests.resources.requests` | The requested resources for the test container | `{}` | diff --git a/sources/shutdown-ds.yaml b/sources/shutdown-ds.yaml deleted file mode 100644 index 7a388a9..0000000 --- a/sources/shutdown-ds.yaml +++ /dev/null @@ -1,39 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: shutdown-ds -spec: - backoffLimit: 2 - template: - spec: - volumes: - - name: shutdown-ds - configMap: - name: shutdown-ds - defaultMode: 0755 - containers: - - name: shutdown-ds - image: onlyoffice/docs-utils:8.0.1-1 - command: ["/bin/sh", "-c"] - args: ["/scripts/stop.sh"] - volumeMounts: - - name: shutdown-ds - mountPath: /scripts/stop.sh - subPath: stop.sh - restartPolicy: Never - ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: shutdown-ds -data: - stop.sh: |- - #!/bin/bash - curlout="$(curl -v http://docservice:8000/internal/cluster/inactive -X PUT -s)" - if [[ "${curlout}" != "true" ]]; then - echo -e "\e[0;31m The server could not be disabled \e[0m" - exit 1 - else - echo work done - fi diff --git a/values.yaml b/values.yaml index 2c260c5..d0a5cb0 100644 --- a/values.yaml +++ b/values.yaml @@ -457,7 +457,7 @@ documentserver: ## documentserver.initContainers.image.repository Documentserver add-shardkey initContainer image repository repository: onlyoffice/docs-utils ## documentserver.initContainers.image.tag Documentserver add-shardkey initContainer image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## documentserver.initContainers.image.pullPolicy Documentserver add-shardkey initContainer image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for Documentserver add-shardkey initContainer container in Pod @@ -511,7 +511,7 @@ documentserver: ## https://github.com/ONLYOFFICE/Kubernetes-Docs#4-parameters repository: onlyoffice/docs-docservice-de ## documentserver.docservice.image.tag docservice container image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## documentserver.docservice.image.pullPolicy docservice container image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for the Docservice container @@ -650,7 +650,7 @@ documentserver: ## https://github.com/ONLYOFFICE/Kubernetes-Docs#4-parameters repository: onlyoffice/docs-proxy-de ## documentserver.proxy.image.tag proxy container image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## documentserver.proxy.image.pullPolicy proxy container image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for the Proxy container @@ -745,7 +745,7 @@ documentserver: ## https://github.com/ONLYOFFICE/Kubernetes-Docs#4-parameters repository: onlyoffice/docs-converter-de ## documentserver.converter.image.tag converter container image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## documentserver.converter.image.pullPolicy converter container image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for the Converter container @@ -953,7 +953,7 @@ example: ## example.image.repository example container image name repository: onlyoffice/docs-example ## example.image.tag example container image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## example.image.pullPolicy example container image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for the Example container @@ -1093,7 +1093,7 @@ grafanaDashboard: ## grafanaDashboard.job.image.repository Job by Grafana Dashboard ONLYOFFICE Docs image repository repository: onlyoffice/docs-utils ## grafanaDashboard.job.image.tag Job by Grafana Dashboard ONLYOFFICE Docs image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## grafanaDashboard.job.image.pullPolicy Job by Grafana Dashboard ONLYOFFICE Docs image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for the Grafana Dashboard container @@ -1159,7 +1159,7 @@ tests: ## tests.image.repository test container image name repository: onlyoffice/docs-utils ## tests.image.tag test container image tag - tag: 8.1.1-2 + tag: 8.1.3-1 ## tests.image.pullPolicy test container image pull policy pullPolicy: IfNotPresent ## Configure a Security Context for the Test container