parent
commit
83a1814d24
  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 enabled: true
#storageClass: "" #storageClass: ""
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 12Gi size: 30Gi
sigi: sigi:
debug: 'False' debug: 'False'

30
charts/sigi/v0.2.4/questions.yaml

@ -230,6 +230,36 @@ questions:
# group: Avançado # group: Avançado
# required: true # 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 # Backup
- variable: velero.backup.enabled - variable: velero.backup.enabled
default: false default: false

10
charts/sigi/v0.2.4/templates/deployment.yaml

@ -61,11 +61,6 @@ spec:
value: "{{ .Values.sigi.auth.ldap.user }}" value: "{{ .Values.sigi.auth.ldap.user }}"
- name: AUTH_LDAP_BIND_PASSWORD - name: AUTH_LDAP_BIND_PASSWORD
value: "{{ .Values.sigi.auth.ldap.bindPwd }}" 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 - name: AUTH_LDAP_USER_SEARCH_STRING
value: "{{ .Values.sigi.auth.ldap.userSearchString }}" value: "{{ .Values.sigi.auth.ldap.userSearchString }}"
- name: AUTH_LDAP_USER_ATTR_MAP - name: AUTH_LDAP_USER_ATTR_MAP
@ -92,11 +87,6 @@ spec:
value: "{{ .Values.sigi.saberes.moodleUrl }}" value: "{{ .Values.sigi.saberes.moodleUrl }}"
- name: MOODLE_API_TOKEN - name: MOODLE_API_TOKEN
value: "{{ .Values.sigi.saberes.moodleToken }}" value: "{{ .Values.sigi.saberes.moodleToken }}"
# valueFrom:
# # Secret Key
# secretKeyRef:
# name: {{ include "sigi.fullname" . }}-saberes-tkn
# key: MOODLE_API_TOKEN
volumeMounts: volumeMounts:
# - mountPath: /var/interlegis/sigi/data # - mountPath: /var/interlegis/sigi/data
# name: data # name: data

8
charts/sigi/v0.2.4/values.yaml

@ -140,6 +140,14 @@ resources:
cpu: 150m cpu: 150m
memory: 500Mi memory: 500Mi
cronJobs:
ibge:
enabled: true
schedule: "0 0 1 * *" # Every Month
gescon:
enabled: true
schedule: "0 * * * *" # Every Hour
autoscaling: autoscaling:
enabled: false enabled: false
minReplicas: 1 minReplicas: 1

Loading…
Cancel
Save