|
|
@ -1,4 +1,4 @@ |
|
|
|
{{- if .Values.audiencias.enabled }} |
|
|
|
{{- if .Values.audiencias.cron.enabled }} |
|
|
|
{{- $edemoUrl := .Values.edemocracia.hostname -}} |
|
|
|
apiVersion: batch/v1beta1 |
|
|
|
kind: CronJob |
|
|
@ -7,7 +7,7 @@ metadata: |
|
|
|
labels: |
|
|
|
{{- include "edemocracia.labels" . | nindent 4 }} |
|
|
|
spec: |
|
|
|
schedule: "*/10 * * * *" |
|
|
|
schedule: {{ .Values.audiencias.cron.schedule | quote }} |
|
|
|
concurrencyPolicy: Forbid |
|
|
|
jobTemplate: |
|
|
|
spec: |
|
|
@ -112,7 +112,7 @@ spec: |
|
|
|
- name: WORDS_BLACK_LIST |
|
|
|
value: {{ .Values.audiencias.wordsBlacklist | quote }} |
|
|
|
resources: |
|
|
|
{{- toYaml .Values.audiencias.resources | nindent 16 }} |
|
|
|
{{- toYaml .Values.audiencias.cron.resources | nindent 16 }} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /var/labhacker/audiencias/public/ |
|
|
|
name: {{ include "edemocracia.fullname" . }}-audiencias |
|
|
|