From e07967ee31634f10755978df8bd00784a6dbc69e Mon Sep 17 00:00:00 2001 From: Roman Pytkov Date: Thu, 23 Oct 2025 16:21:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=B5=D0=BF=D0=BB=D0=BE=D0=B9=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=BA=D0=B0?= =?UTF-8?q?=D0=B6=D0=B4=D0=BE=D0=BC=20=D0=BF=D1=80=D0=B8=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B8=20helm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cnpg-liquid/Chart.yaml | 4 ++-- liquid-code/templates/Deployments/backend-deployment.yaml | 4 ++-- .../templates/{pre-install-drob.yaml => hook-drob.yaml} | 2 +- .../{pre-install-migration.yaml => hook-migration.yaml} | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename liquid-code/templates/{pre-install-drob.yaml => hook-drob.yaml} (96%) rename liquid-code/templates/{pre-install-migration.yaml => hook-migration.yaml} (96%) diff --git a/cnpg-liquid/Chart.yaml b/cnpg-liquid/Chart.yaml index d3bc87c..94121e5 100644 --- a/cnpg-liquid/Chart.yaml +++ b/cnpg-liquid/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.0 +version: 1.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.0" +appVersion: "1.0.1" diff --git a/liquid-code/templates/Deployments/backend-deployment.yaml b/liquid-code/templates/Deployments/backend-deployment.yaml index ebc64fa..df9bcc0 100644 --- a/liquid-code/templates/Deployments/backend-deployment.yaml +++ b/liquid-code/templates/Deployments/backend-deployment.yaml @@ -4,8 +4,6 @@ metadata: name: {{ .Release.Name }}-backend-deployment labels: app: {{ .Release.Name }}-backend - annotations: - redeploy-timestamp: "{{ now | unixEpoch }}" spec: replicas: 1 selector: @@ -15,6 +13,8 @@ spec: metadata: labels: app: {{ .Release.Name }}-backend + annotations: + redeploy-timestamp: "{{ now | unixEpoch }}" spec: containers: - name: {{ .Release.Name }}-backend diff --git a/liquid-code/templates/pre-install-drob.yaml b/liquid-code/templates/hook-drob.yaml similarity index 96% rename from liquid-code/templates/pre-install-drob.yaml rename to liquid-code/templates/hook-drob.yaml index 9d90875..f1ff619 100644 --- a/liquid-code/templates/pre-install-drob.yaml +++ b/liquid-code/templates/hook-drob.yaml @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}" annotations: - "helm.sh/hook": pre-install + "helm.sh/hook": "pre-install,pre-upgrade" "helm.sh/hook-weight": "-1" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: diff --git a/liquid-code/templates/pre-install-migration.yaml b/liquid-code/templates/hook-migration.yaml similarity index 96% rename from liquid-code/templates/pre-install-migration.yaml rename to liquid-code/templates/hook-migration.yaml index 18b40b2..3a86549 100644 --- a/liquid-code/templates/pre-install-migration.yaml +++ b/liquid-code/templates/hook-migration.yaml @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}" annotations: - "helm.sh/hook": pre-install + "helm.sh/hook": "pre-install,pre-upgrade" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: template: