From 472c9f14ea981c7d485444cc8f8bf034470cb1d7 Mon Sep 17 00:00:00 2001 From: Vyacheslav Semin Date: Thu, 9 Nov 2023 10:19:22 +0300 Subject: [PATCH 1/2] Add the ability to set sc in dependencies (#279) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9b7c564ba..6f5db34d1 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ To install RabbitMQ to your cluster, run the following command: ```bash $ helm install rabbitmq bitnami/rabbitmq \ + --set persistence.storageClass=PERSISTENT_STORAGE_CLASS \ --set metrics.enabled=false ``` @@ -135,6 +136,7 @@ To install Redis to your cluster, run the following command: ```bash $ helm install redis bitnami/redis \ --set architecture=standalone \ + --set master.persistence.storageClass=PERSISTENT_STORAGE_CLASS \ --set metrics.enabled=false ``` @@ -153,6 +155,7 @@ To install PostgreSQL to your cluster, run the following command: ``` $ helm install postgresql bitnami/postgresql \ --set auth.database=postgres \ + --set primary.persistence.storageClass=PERSISTENT_STORAGE_CLASS \ --set primary.persistence.size=PERSISTENT_SIZE \ --set metrics.enabled=false ``` @@ -167,6 +170,7 @@ To install MySQL to your cluster, run the following command: $ helm install mysql bitnami/mysql \ --set auth.database=onlyoffice \ --set auth.username=onlyoffice \ + --set primary.persistence.storageClass=PERSISTENT_STORAGE_CLASS \ --set primary.persistence.size=PERSISTENT_SIZE \ --set metrics.enabled=false ``` From aa00734291f0d8bb8104bc5f0bd4ffd7d428da82 Mon Sep 17 00:00:00 2001 From: Vyacheslav Semin Date: Thu, 9 Nov 2023 10:52:06 +0300 Subject: [PATCH 2/2] Replace the version Chart with v3.4.1 (#280) --- CHANGELOG.md | 6 ++++++ Chart.yaml | 4 ++-- README.md | 16 ++++++++-------- sources/shutdown-ds.yaml | 2 +- templates/jobs/dashboard.yaml | 2 +- values.yaml | 16 ++++++++-------- 6 files changed, 26 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e6cd6946..3c0638b09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change log +## 3.4.1 + +### Changes + +* Released [v7.5.1](https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#751) of ONLYOFFICE Docs + ## 3.4.0 ### Changes diff --git a/Chart.yaml b/Chart.yaml index 8151d43da..c16b88c84 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -4,6 +4,6 @@ description: Helm chart for installing ONLYOFFICE Docs in Kubernetes type: application -version: 3.4.0 +version: 3.4.1 -appVersion: 7.5.0 +appVersion: 7.5.1 diff --git a/README.md b/README.md index 6f5db34d1..b22d0c403 100644 --- a/README.md +++ b/README.md @@ -430,7 +430,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `docservice.nodeAffinity` | Defines [Node affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity) rules for Docservice Pods scheduling by nodes | `{}` | | `docservice.initContainers` | Defines containers that run before docservice and proxy containers in the Docservice deployment pod. For example, a container that changes the owner of the PersistentVolume | `[]` | | `docservice.image.repository` | Docservice container image repository* | `onlyoffice/docs-docservice-de` | -| `docservice.image.tag` | Docservice container image tag | `7.5.0-1` | +| `docservice.image.tag` | Docservice container image tag | `7.5.1-1` | | `docservice.image.pullPolicy` | Docservice container image pull policy | `IfNotPresent` | | `docservice.resources.requests` | The requested resources for the Docservice container | `{}` | | `docservice.resources.limits` | The resources limits for the Docservice container | `{}` | @@ -453,7 +453,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `proxy.infoAllowedIP` | Defines ip addresses for accessing the info page | `[]` | | `proxy.welcomePage.enabled` | Defines whether the welcome page will be displayed | `true` | | `proxy.image.repository` | Docservice Proxy container image repository* | `onlyoffice/docs-proxy-de` | -| `proxy.image.tag` | Docservice Proxy container image tag | `7.5.0-1` | +| `proxy.image.tag` | Docservice Proxy container image tag | `7.5.1-1` | | `proxy.image.pullPolicy` | Docservice Proxy container image pull policy | `IfNotPresent` | | `proxy.resources.requests` | The requested resources for the Proxy container | `{}` | | `proxy.resources.limits` | The resources limits for the Proxy container | `{}` | @@ -469,7 +469,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `converter.nodeAffinity` | Defines [Node affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity) rules for Converter Pods scheduling by nodes | `{}` | | `converter.initContainers` | Defines containers that run before docservice and proxy containers in the Docservice deployment pod. For example, a container that changes the owner of the PersistentVolume | `[]` | | `converter.image.repository` | Converter container image repository* | `onlyoffice/docs-converter-de` | -| `converter.image.tag` | Converter container image tag | `7.5.0-1` | +| `converter.image.tag` | Converter container image tag | `7.5.1-1` | | `converter.image.pullPolicy` | Converter container image pull policy | `IfNotPresent` | | `converter.resources.requests` | The requested resources for the Converter container | `{}` | | `converter.resources.limits` | The resources limits for the Converter container | `{}` | @@ -488,7 +488,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `example.podAffinity` | Defines [Pod affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity) rules for Example Pod scheduling by nodes relative to other Pods | `{}` | | `example.nodeAffinity` | Defines [Node affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity) rules for Example Pod scheduling by nodes | `{}` | | `example.image.repository` | Example container image name | `onlyoffice/docs-example` | -| `example.image.tag` | Example container image tag | `7.5.0-1` | +| `example.image.tag` | Example container image tag | `7.5.1-1` | | `example.image.pullPolicy` | Example container image pull policy | `IfNotPresent` | | `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://\/) | `/` | | `example.resources.requests` | The requested resources for the Example container | `{}` | @@ -535,7 +535,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `privateCluster` | Specify whether the k8s cluster is used in a private network without internet access | `false` | | `upgrade.job.enabled` | Enable the execution of job pre-upgrade before upgrading ONLYOFFICE Docs | `true` | | `upgrade.job.image.repository` | Job by upgrade image repository | `onlyoffice/docs-utils` | -| `upgrade.job.image.tag` | Job by upgrade image tag | `7.5.0-1` | +| `upgrade.job.image.tag` | Job by upgrade image tag | `7.5.1-1` | | `upgrade.job.image.pullPolicy` | Job by upgrade image pull policy | `IfNotPresent` | | `upgrade.job.resources.requests` | The requested resources for the job pre-upgrade container | `{}` | | `upgrade.job.resources.limits` | The resources limits for the job pre-upgrade container | `{}` | @@ -546,7 +546,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `upgrade.existingConfigmap.dsStop` | The name of the existing ConfigMap that contains the ONLYOFFICE Docs upgrade script. If set, the four previous parameters are ignored. Must contain a key `stop.sh` | `""` | | `rollback.job.enabled` | Enable the execution of job pre-rollback before rolling back ONLYOFFICE Docs | `true` | | `rollback.job.image.repository` | Job by rollback image repository | `onlyoffice/docs-utils` | -| `rollback.job.image.tag` | Job by rollback image tag | `7.5.0-1` | +| `rollback.job.image.tag` | Job by rollback image tag | `7.5.1-1` | | `rollback.job.image.pullPolicy` | Job by rollback image pull policy | `IfNotPresent` | | `rollback.job.resources.requests` | The requested resources for the job rollback container | `{}` | | `rollback.job.resources.limits` | The resources limits for the job rollback container | `{}` | @@ -557,7 +557,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `rollback.existingConfigmap.dsStop` | The name of the existing ConfigMap that contains the ONLYOFFICE Docs rollback script. If set, the four previous parameters are ignored. Must contain a key `stop.sh` | `""` | | `delete.job.enabled` | Enable the execution of job pre-delete before deleting ONLYOFFICE Docs | `true` | | `delete.job.image.repository` | Job by delete image repository | `onlyoffice/docs-utils` | -| `delete.job.image.tag` | Job by delete image tag | `7.5.0-1` | +| `delete.job.image.tag` | Job by delete image tag | `7.5.1-1` | | `delete.job.image.pullPolicy` | Job by delete image pull policy | `IfNotPresent` | | `delete.job.resources.requests` | The requested resources for the job delete container | `{}` | | `delete.job.resources.limits` | The resources limits for the job delete container | `{}` | @@ -566,7 +566,7 @@ The `helm delete` command removes all the Kubernetes components associated with | `delete.existingConfigmap.dsStop` | The name of the existing ConfigMap that contains the ONLYOFFICE Docs delete script. If set, the two previous parameters are ignored. Must contain a key `stop.sh` | `""` | | `install.job.enabled` | Enable the execution of job pre-install before installing ONLYOFFICE Docs | `true` | | `install.job.image.repository` | Job by pre-install ONLYOFFICE Docs image repository | `onlyoffice/docs-utils` | -| `install.job.image.tag` | Job by pre-install ONLYOFFICE Docs image tag | `7.5.0-1` | +| `install.job.image.tag` | Job by pre-install ONLYOFFICE Docs image tag | `7.5.1-1` | | `install.job.image.pullPolicy` | Job by pre-install ONLYOFFICE Docs image pull policy | `IfNotPresent` | | `install.job.resources.requests` | The requested resources for the job pre-install container | `{}` | | `install.job.resources.limits` | The resources limits for the job pre-install container | `{}` | diff --git a/sources/shutdown-ds.yaml b/sources/shutdown-ds.yaml index baa464911..91175f054 100644 --- a/sources/shutdown-ds.yaml +++ b/sources/shutdown-ds.yaml @@ -13,7 +13,7 @@ spec: defaultMode: 0755 containers: - name: shutdown-ds - image: onlyoffice/docs-utils:7.5.0-1 + image: onlyoffice/docs-utils:7.5.1-1 command: ["/bin/sh", "-c"] args: ["/scripts/stop.sh"] volumeMounts: diff --git a/templates/jobs/dashboard.yaml b/templates/jobs/dashboard.yaml index b7bf9c9ac..c5cfe1772 100644 --- a/templates/jobs/dashboard.yaml +++ b/templates/jobs/dashboard.yaml @@ -28,7 +28,7 @@ spec: defaultMode: 0755 containers: - name: grafana-dashboard - image: onlyoffice/docs-utils:7.5.0-1 + image: onlyoffice/docs-utils:7.5.1-1 command: ["/bin/sh", "-c"] {{- if .Values.webProxy.enabled }} args: ["http_proxy={{ .Values.webProxy.http }} https_proxy={{ .Values.webProxy.https }} no_proxy={{ .Values.webProxy.noProxy }} /scripts/get_dashboard.sh"] diff --git a/values.yaml b/values.yaml index 38dc17bd3..6b9a2de9d 100644 --- a/values.yaml +++ b/values.yaml @@ -440,7 +440,7 @@ docservice: ## https://github.com/ONLYOFFICE/Kubernetes-Docs#4-parameters repository: onlyoffice/docs-docservice-de ## docservice.image.tag docservice container image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## docservice.image.pullPolicy docservice container image pull policy pullPolicy: IfNotPresent ## docservice.containerPorts.http docservice container port @@ -541,7 +541,7 @@ proxy: ## https://github.com/ONLYOFFICE/Kubernetes-Docs#4-parameters repository: onlyoffice/docs-proxy-de ## proxy.image.tag proxy container image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## proxy.image.pullPolicy proxy container image pull policy pullPolicy: IfNotPresent ## proxy.containerPorts.http proxy container port @@ -737,7 +737,7 @@ converter: ## https://github.com/ONLYOFFICE/Kubernetes-Docs#4-parameters repository: onlyoffice/docs-converter-de ## converter.image.tag converter container image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## converter.image.pullPolicy converter container image pull policy pullPolicy: IfNotPresent ## converter container resource requests and limits @@ -826,7 +826,7 @@ example: ## example.image.repository example container image name repository: onlyoffice/docs-example ## example.image.tag example container image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## example.image.pullPolicy example container image pull policy pullPolicy: IfNotPresent ## example.containerPorts.http example container port @@ -902,7 +902,7 @@ install: ## install.job.image.repository Job by pre-install ONLYOFFICE Docs image repository repository: onlyoffice/docs-utils ## install.job.image.tag Job by pre-install ONLYOFFICE Docs image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## install.job.image.pullPolicy Job by pre-install ONLYOFFICE Docs image pull policy pullPolicy: IfNotPresent ## Job pre-install container resource requests and limits @@ -943,7 +943,7 @@ upgrade: ## upgrade.job.image.repository Job by upgrade image repository repository: onlyoffice/docs-utils ## upgrade.job.image.tag Job by upgrade image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## upgrade.job.image.pullPolicy Job by upgrade image pull policy pullPolicy: IfNotPresent ## Job pre-upgrade container resource requests and limits @@ -992,7 +992,7 @@ rollback: ## rollback.job.image.repository Job by rollback image repository repository: onlyoffice/docs-utils ## rollback.job.image.tag Job by rollback image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## rollback.job.image.pullPolicy Job by rollback image pull policy pullPolicy: IfNotPresent ## Job pre-rollback container resource requests and limits @@ -1041,7 +1041,7 @@ delete: ## delete.job.image.repository Job by delete image repository repository: onlyoffice/docs-utils ## delete.job.image.tag Job by delete image tag - tag: 7.5.0-1 + tag: 7.5.1-1 ## delete.job.image.pullPolicy Job by delete image pull policy pullPolicy: IfNotPresent ## Job pre-delete container resource requests and limits