fix: add missing env vars to cronjobs (#750)
This commit is contained in:
parent
dec5fd6b64
commit
a7d51d7c6b
8 changed files with 177 additions and 1 deletions
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "plateforme-ebs.labels" . | nindent 4 }}
|
{{- include "plateforme-ebs.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
schedule: '30 10 * * *'
|
schedule: '45 15 * * *'
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,23 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: MAILER_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: mailer-dsn
|
||||||
|
{{- if .Values.meilisearch.enabled }}
|
||||||
|
- name: MEILISEARCH_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ printf "%s-%s" (include "meilisearch.fullname" .Subcharts.meilisearch ) "master-key" }}
|
||||||
|
key: MEILI_MASTER_KEY
|
||||||
|
- name: MEILISEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: meilisearch-url
|
||||||
|
{{- end }}
|
||||||
- name: MERCURE_URL
|
- name: MERCURE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
@ -93,6 +110,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "plateforme-ebs" . }}
|
name: {{ include "plateforme-ebs" . }}
|
||||||
key: mercure-jwt-secret
|
key: mercure-jwt-secret
|
||||||
|
- name: SMS_DSN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "plateforme-ebs" . }}
|
||||||
|
key: sms-dsn
|
||||||
- name: STORAGE_BUCKET
|
- name: STORAGE_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue