From 84b1af898e3101e505be755ae4a9a668aa7b7f5b Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Fri, 23 Sep 2022 08:11:18 -0300 Subject: [PATCH 1/3] SIGI velero command corretion --- charts/sigi/v0/Chart.yaml | 2 +- charts/sigi/v0/templates/velero-schedule-monthly.yaml | 2 +- charts/sigi/v0/templates/velero-schedule-weekdays.yaml | 2 +- charts/sigi/v0/templates/velero-schedule-weekly.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/sigi/v0/Chart.yaml b/charts/sigi/v0/Chart.yaml index f9e026b..54fbb4c 100644 --- a/charts/sigi/v0/Chart.yaml +++ b/charts/sigi/v0/Chart.yaml @@ -8,7 +8,7 @@ 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: 0.1.5 +version: 0.1.6 # 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 diff --git a/charts/sigi/v0/templates/velero-schedule-monthly.yaml b/charts/sigi/v0/templates/velero-schedule-monthly.yaml index 143e21f..7d6e3f0 100644 --- a/charts/sigi/v0/templates/velero-schedule-monthly.yaml +++ b/charts/sigi/v0/templates/velero-schedule-monthly.yaml @@ -32,7 +32,7 @@ spec: command: - "/bin/bash" - "-c" - - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sigi -d sigi > /bitnami/postgresql/sigi.dump" + - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U postgres -d sigi > /bitnami/postgresql/sigi.dump" timeout: 360s onError: Continue useOwnerReferencesInBackup: false diff --git a/charts/sigi/v0/templates/velero-schedule-weekdays.yaml b/charts/sigi/v0/templates/velero-schedule-weekdays.yaml index 9ecf1ae..f0959e7 100644 --- a/charts/sigi/v0/templates/velero-schedule-weekdays.yaml +++ b/charts/sigi/v0/templates/velero-schedule-weekdays.yaml @@ -32,7 +32,7 @@ spec: command: - "/bin/bash" - "-c" - - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sigi -d sigi > /bitnami/postgresql/sigi.dump" + - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U postgres -d sigi > /bitnami/postgresql/sigi.dump" timeout: 360s onError: Continue useOwnerReferencesInBackup: false diff --git a/charts/sigi/v0/templates/velero-schedule-weekly.yaml b/charts/sigi/v0/templates/velero-schedule-weekly.yaml index d0c4fbe..565eb30 100644 --- a/charts/sigi/v0/templates/velero-schedule-weekly.yaml +++ b/charts/sigi/v0/templates/velero-schedule-weekly.yaml @@ -32,7 +32,7 @@ spec: command: - "/bin/bash" - "-c" - - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sigi -d sigi > /bitnami/postgresql/sigi.dump" + - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U postgres -d sigi > /bitnami/postgresql/sigi.dump" timeout: 360s onError: Continue useOwnerReferencesInBackup: false From dc77a5ec0344fbb0f396e35bea8cada5bf5d4398 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Fri, 23 Sep 2022 08:15:54 -0300 Subject: [PATCH 2/3] SIGI volume size --- charts/sigi/v0/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sigi/v0/values.yaml b/charts/sigi/v0/values.yaml index c876025..2f1f612 100644 --- a/charts/sigi/v0/values.yaml +++ b/charts/sigi/v0/values.yaml @@ -45,7 +45,7 @@ persistence: enabled: true #storageClass: "" accessMode: ReadWriteOnce - size: 2Gi + size: 12Gi sigi: debug: 'False' From aa0fc2fc5cd381537c5ef78f530f348b3c23a10f Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Fri, 23 Sep 2022 13:27:04 -0300 Subject: [PATCH 3/3] SIGI docker image version --- charts/sigi/v0/Chart.yaml | 2 +- charts/sigi/v0/questions.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/charts/sigi/v0/Chart.yaml b/charts/sigi/v0/Chart.yaml index 54fbb4c..dc41083 100644 --- a/charts/sigi/v0/Chart.yaml +++ b/charts/sigi/v0/Chart.yaml @@ -13,7 +13,7 @@ version: 0.1.6 # 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. -appVersion: latest +appVersion: 3.0.0 icon: https://git.interlegis.leg.br/SEIT/rancher-charts/raw/master/images/sigi_interlegis.png diff --git a/charts/sigi/v0/questions.yaml b/charts/sigi/v0/questions.yaml index 500ca2b..ae15bd9 100644 --- a/charts/sigi/v0/questions.yaml +++ b/charts/sigi/v0/questions.yaml @@ -109,6 +109,14 @@ questions: group: Avançado required: true +- variable: image.tag + default: 3.0.0 + description: "Versão da imagem docker do SIGI a ser utilizada" + label: "versão do SIGI" + type: string + group: Avançado + required: true + - variable: image.pullPolicy default: IfNotPresent description: "Politica de carga da imagem docker do SIGI."