Fábio Kaiser Rauber 2 years ago
parent
commit
ea790d2d1e
  1. 4
      charts/sigi/v0/Chart.yaml
  2. 8
      charts/sigi/v0/questions.yaml
  3. 2
      charts/sigi/v0/templates/velero-schedule-monthly.yaml
  4. 2
      charts/sigi/v0/templates/velero-schedule-weekdays.yaml
  5. 2
      charts/sigi/v0/templates/velero-schedule-weekly.yaml
  6. 2
      charts/sigi/v0/values.yaml

4
charts/sigi/v0/Chart.yaml

@ -8,12 +8,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # 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. # 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 icon: https://git.interlegis.leg.br/SEIT/rancher-charts/raw/master/images/sigi_interlegis.png

8
charts/sigi/v0/questions.yaml

@ -109,6 +109,14 @@ questions:
group: Avançado group: Avançado
required: true 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 - variable: image.pullPolicy
default: IfNotPresent default: IfNotPresent
description: "Politica de carga da imagem docker do SIGI." description: "Politica de carga da imagem docker do SIGI."

2
charts/sigi/v0/templates/velero-schedule-monthly.yaml

@ -32,7 +32,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-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 timeout: 360s
onError: Continue onError: Continue
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false

2
charts/sigi/v0/templates/velero-schedule-weekdays.yaml

@ -32,7 +32,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-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 timeout: 360s
onError: Continue onError: Continue
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false

2
charts/sigi/v0/templates/velero-schedule-weekly.yaml

@ -32,7 +32,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-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 timeout: 360s
onError: Continue onError: Continue
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false

2
charts/sigi/v0/values.yaml

@ -45,7 +45,7 @@ persistence:
enabled: true enabled: true
#storageClass: "" #storageClass: ""
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 2Gi size: 12Gi
sigi: sigi:
debug: 'False' debug: 'False'

Loading…
Cancel
Save