From 462c3c7a0283980f28e0ad3ec4c2a7c91802f681 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Mon, 11 Sep 2023 11:07:16 -0300 Subject: [PATCH] SIGI resize media volume --- charts/sigi/v0.2.3/values.yaml | 2 +- charts/sigi/v0.2.4/questions.yaml | 30 ++++++++++++++++++++ charts/sigi/v0.2.4/templates/deployment.yaml | 10 ------- charts/sigi/v0.2.4/values.yaml | 8 ++++++ 4 files changed, 39 insertions(+), 11 deletions(-) diff --git a/charts/sigi/v0.2.3/values.yaml b/charts/sigi/v0.2.3/values.yaml index 28438b3..6d8eb11 100644 --- a/charts/sigi/v0.2.3/values.yaml +++ b/charts/sigi/v0.2.3/values.yaml @@ -45,7 +45,7 @@ persistence: enabled: true #storageClass: "" accessMode: ReadWriteOnce - size: 12Gi + size: 30Gi sigi: debug: 'False' diff --git a/charts/sigi/v0.2.4/questions.yaml b/charts/sigi/v0.2.4/questions.yaml index 3ed4642..9e3ce0b 100755 --- a/charts/sigi/v0.2.4/questions.yaml +++ b/charts/sigi/v0.2.4/questions.yaml @@ -230,6 +230,36 @@ questions: # group: Avançado # required: true +# CronJob +- variable: cronJob.ibge.enabled + default: true + type: boolean + description: "Habilitar a atualização periódica dos dados dos Municípios?" + label: "Busca dados IBGE?" + required: false + group: CronJob +- variable: cronJob.ibge.schedule + default: "0 0 1 * *" + type: string + description: "Agendamento de atualização dados do IBGE sobre Municípios (String do Cron)" + label: "IBGE Busca dados Cron" + required: false + group: CronJob +- variable: cronJob.gescon.enabled + default: true + type: boolean + description: "Habilitar a atualização periódica dos dados do Gescon?" + label: "Busca dados GESCON?" + required: false + group: CronJob +- variable: cronJob.gescon.schedule + default: "0 * * * *" + type: string + description: "Agendamento de atualização dados do GESCON (String do Cron)" + label: "GESCON Busca dados Cron" + required: false + group: CronJob + # Backup - variable: velero.backup.enabled default: false diff --git a/charts/sigi/v0.2.4/templates/deployment.yaml b/charts/sigi/v0.2.4/templates/deployment.yaml index b6f8321..40f33f0 100755 --- a/charts/sigi/v0.2.4/templates/deployment.yaml +++ b/charts/sigi/v0.2.4/templates/deployment.yaml @@ -61,11 +61,6 @@ spec: value: "{{ .Values.sigi.auth.ldap.user }}" - name: AUTH_LDAP_BIND_PASSWORD value: "{{ .Values.sigi.auth.ldap.bindPwd }}" - # valueFrom: - # # Secret Key - # secretKeyRef: - # name: {{ include "sigi.fullname" . }}-auth-ldap-key - # key: AUTH_LDAP_BIND_PASSWORD - name: AUTH_LDAP_USER_SEARCH_STRING value: "{{ .Values.sigi.auth.ldap.userSearchString }}" - name: AUTH_LDAP_USER_ATTR_MAP @@ -92,11 +87,6 @@ spec: value: "{{ .Values.sigi.saberes.moodleUrl }}" - name: MOODLE_API_TOKEN value: "{{ .Values.sigi.saberes.moodleToken }}" - # valueFrom: - # # Secret Key - # secretKeyRef: - # name: {{ include "sigi.fullname" . }}-saberes-tkn - # key: MOODLE_API_TOKEN volumeMounts: # - mountPath: /var/interlegis/sigi/data # name: data diff --git a/charts/sigi/v0.2.4/values.yaml b/charts/sigi/v0.2.4/values.yaml index 28438b3..67fd566 100755 --- a/charts/sigi/v0.2.4/values.yaml +++ b/charts/sigi/v0.2.4/values.yaml @@ -140,6 +140,14 @@ resources: cpu: 150m memory: 500Mi +cronJobs: + ibge: + enabled: true + schedule: "0 0 1 * *" # Every Month + gescon: + enabled: true + schedule: "0 * * * *" # Every Hour + autoscaling: enabled: false minReplicas: 1