Skip to content

Commit

Permalink
Merge pull request #87 from maykinmedia/feature/on-1.1.3-beta.2
Browse files Browse the repository at this point in the history
release on chart 1.1.3-beta.2
sjoerdie authored Dec 20, 2023
2 parents 1d1880a + bb2fde6 commit bc09d3b
Showing 4 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/opennotificaties/Chart.yaml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: opennotificaties
description: API voor het routeren van notificaties

type: application
version: 1.1.3-beta.1
version: 1.1.3-beta.2
appVersion: 1.5.1

dependencies:
2 changes: 1 addition & 1 deletion charts/opennotificaties/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ data:
LOG_NOTIFICATIONS_IN_DB: "True"
{{- end }}
{{- if .Values.settings.cleanOldNotifications.daysRetained }}
NOTIFICATION_NUMBER_OF_DAYS_RETAINED: {{ Values.settings.cleanOldNotifications.daysRetained | toString | quote }}
NOTIFICATION_NUMBER_OF_DAYS_RETAINED: {{ .Values.settings.cleanOldNotifications.daysRetained | toString | quote }}
{{- end }}
DB_NAME: {{ .Values.settings.database.name | toString | quote }}
DB_HOST: {{ .Values.settings.database.host | toString | quote }}
34 changes: 17 additions & 17 deletions charts/opennotificaties/templates/cronjob-clean-notifications.yaml
Original file line number Diff line number Diff line change
@@ -15,28 +15,27 @@ spec:
template:
metadata:
annotations:
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
labels:
{{- include "opennotificaties.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "opennotificaties.labels" . | nindent 12 }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
serviceAccountName: {{ include "opennotificaties.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- toYaml .Values.podSecurityContext | nindent 12 }}
restartPolicy: OnFailure
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- toYaml .Values.securityContext | nindent 16 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
envFrom:
@@ -47,19 +46,20 @@ spec:
env:
{{- if .Values.extraEnvVars }}
{{- include "opennotificaties.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.settings.cleanOldNotifications.cronjob.resources | nindent 16 }}
command: /src/manage.py clean_old_notifications
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/opennotificaties/values.yaml
Original file line number Diff line number Diff line change
@@ -177,6 +177,7 @@ settings:
schedule: "0 0 * * *"

historyLimit: 1
resources: {}


# -- Generate secret key at https://djecrety.ir/

0 comments on commit bc09d3b

Please sign in to comment.