From 801285f2a394e719b8f7330143348855f52cdd5f Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Fri, 24 Jun 2022 13:24:25 -0300 Subject: [PATCH] sigi chart verification and dependency build --- charts/sigi/v0.1.0/questions.yaml | 2 +- charts/sigi/v0.1.0/templates/deployment.yaml | 14 +++++++------- .../v0.1.0/templates/velero-schedule-weekdays.yaml | 6 +++--- .../v0.1.0/templates/velero-schedule-weekly.yaml | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/charts/sigi/v0.1.0/questions.yaml b/charts/sigi/v0.1.0/questions.yaml index 3017f7b..8dc59ce 100644 --- a/charts/sigi/v0.1.0/questions.yaml +++ b/charts/sigi/v0.1.0/questions.yaml @@ -100,7 +100,7 @@ questions: group: PostgreSQL required: false - variable: postgresql.postgresqlPassword - default: "altereme" + default: "sigi" description: "Senha do banco de dados Postgres" label: "Senha do Postgres" type: password diff --git a/charts/sigi/v0.1.0/templates/deployment.yaml b/charts/sigi/v0.1.0/templates/deployment.yaml index 58ab549..b8cee8b 100644 --- a/charts/sigi/v0.1.0/templates/deployment.yaml +++ b/charts/sigi/v0.1.0/templates/deployment.yaml @@ -55,9 +55,9 @@ spec: value: "{{ .Values.sigi.emailHost }}" - name: TZ value: "{{ .Values.sigi.timeZone }}" - volumeMounts: - - mountPath: /var/interlegis/sigi/data - name: data + volumeMounts: +# - mountPath: /var/interlegis/sigi/data +# name: data - mountPath: /var/interlegis/sigi/media name: media livenessProbe: @@ -81,10 +81,10 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} volumes: - - name: data - secret: - defaultMode: 440 - secretName: {{ include "sigi.fullname" . }}-secretkey +# - name: data +# secret: +# defaultMode: 440 +# secretName: {{ include "sigi.fullname" . }}-secretkey - name: media {{- if .Values.persistence.enabled }} persistentVolumeClaim: diff --git a/charts/sigi/v0.1.0/templates/velero-schedule-weekdays.yaml b/charts/sigi/v0.1.0/templates/velero-schedule-weekdays.yaml index f0724d5..9ecf1ae 100644 --- a/charts/sigi/v0.1.0/templates/velero-schedule-weekdays.yaml +++ b/charts/sigi/v0.1.0/templates/velero-schedule-weekdays.yaml @@ -2,7 +2,7 @@ apiVersion: velero.io/v1 kind: Schedule metadata: - name: {{ include "sapl.fullname" . }}-weekdays + name: {{ include "sigi.fullname" . }}-weekdays namespace: {{ .Values.velero.namespace }} spec: # generate a random backup time between 1 and 5 AM on weekdays @@ -32,8 +32,8 @@ spec: command: - "/bin/bash" - "-c" - - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d sapl > /bitnami/postgresql/sapl.dump" + - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sigi -d sigi > /bitnami/postgresql/sigi.dump" timeout: 360s onError: Continue useOwnerReferencesInBackup: false -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/sigi/v0.1.0/templates/velero-schedule-weekly.yaml b/charts/sigi/v0.1.0/templates/velero-schedule-weekly.yaml index 9c07521..d0c4fbe 100644 --- a/charts/sigi/v0.1.0/templates/velero-schedule-weekly.yaml +++ b/charts/sigi/v0.1.0/templates/velero-schedule-weekly.yaml @@ -2,7 +2,7 @@ apiVersion: velero.io/v1 kind: Schedule metadata: - name: {{ include "sapl.fullname" . }}-weekly + name: {{ include "sigi.fullname" . }}-weekly namespace: {{ .Values.velero.namespace }} spec: # generate a random backup time between 1 and 5 AM on sunday @@ -32,8 +32,8 @@ spec: command: - "/bin/bash" - "-c" - - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d sapl > /bitnami/postgresql/sapl.dump" + - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sigi -d sigi > /bitnami/postgresql/sigi.dump" timeout: 360s onError: Continue useOwnerReferencesInBackup: false -{{- end }} \ No newline at end of file +{{- end }}