diff --git a/charts/sigi/v0.1.0/Chart.lock b/charts/sigi/v0.1.0/Chart.lock new file mode 100644 index 0000000..b351582 --- /dev/null +++ b/charts/sigi/v0.1.0/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: postgresql + repository: https://charts.bitnami.com/bitnami + version: 11.6.8 +digest: sha256:ee4247460b887d3cc558f76c85980fe6848624c688b855100d9863bef6830ed0 +generated: "2022-06-24T12:28:18.011798975-03:00" diff --git a/charts/sigi/v0.1.0/charts/postgresql-11.6.8.tgz b/charts/sigi/v0.1.0/charts/postgresql-11.6.8.tgz new file mode 100644 index 0000000..51bbe89 Binary files /dev/null and b/charts/sigi/v0.1.0/charts/postgresql-11.6.8.tgz differ 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 }}