Browse Source

SIGI resize media volume

master
Keny Villela 1 year ago
parent
commit
462c3c7a02
  1. 2
      charts/sigi/v0.2.3/values.yaml
  2. 30
      charts/sigi/v0.2.4/questions.yaml
  3. 10
      charts/sigi/v0.2.4/templates/deployment.yaml
  4. 8
      charts/sigi/v0.2.4/values.yaml

2
charts/sigi/v0.2.3/values.yaml

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

30
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

10
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

8
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

Loading…
Cancel
Save