Skip to content

Commit

Permalink
add stuurgegevens properties and onCaseCloed mailTemplate settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MLenterman committed Sep 13, 2024
1 parent 4430b5f commit 45a7708
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/openforms2xxllnc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: openforms2xxllnc
description: A Helm chart for running a Frank! on Kubernetes
version: 1.0.1
appVersion: 1.1.1
version: 1.1.0
appVersion: 1.2.0
type: application
home: https://wearefrank.github.io/openforms2xxllnc
icon: https://raw.githubusercontent.com/wearefrank/charts/master/openforms2xxllnc/icon.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ data:
{{- end }}

{{- with .Values.openforms2xxllnc.workflows }}

{{- with .stuurgegevens.zender }}
openforms2xxllnc.workflows.stuurgegevens.zender.organisatie: "{{ .organisatie }}"
openforms2xxllnc.workflows.stuurgegevens.zender.applicatie: "{{ .applicatie }}"
{{- end }}

{{- with .stuurgegevens.ontvanger }}
openforms2xxllnc.workflows.stuurgegevens.ontvanger.organisatie: "{{ .organisatie }}"
openforms2xxllnc.workflows.stuurgegevens.ontvanger.applicatie: "{{ .applicatie }}"
{{- end }}


{{- with .autoRetries }}
openforms2xxllnc.workflows.auto-retries.enabled: "{{ .enabled }}"
Expand Down Expand Up @@ -107,4 +118,9 @@ data:
openforms2xxllnc.workflows.on-error-actions.on-subject-not-equals-case-subject.template-name: "{{ .templateName }}"
{{- end }}

{{- with .onErrorActions.onCaseClosed }}
openforms2xxllnc.workflows.on-error-actions.on-case-closed.send-mail: "{{ .sendMail }}"
openforms2xxllnc.workflows.on-error-actions.on-case-closed.template-name: "{{ .templateName }}"
{{- end }}

{{- end }}
25 changes: 25 additions & 0 deletions charts/openforms2xxllnc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,22 @@ openforms2xxllnc:
## @section Workflows
##
workflows:
## @skip openforms2xxllnc.workflows.stuurgegevens [object]
##
stuurgegevens:
## @skip openforms2xxllnc.workflows.stuurgegevens.zender [object]
## @param openforms2xxllnc.workflows.stuurgegevens.zender.organisatie [string] Gemeentecode of the gemeente sending the zs-dms requests.
## @param openforms2xxllnc.workflows.stuurgegevens.zender.applicatie [string] Application name used when sending the zs-dms requests.
## Defaults to ${instance.name}
zender:
organisatie: "1111"
applicatie: ""
## @skip openforms2xxllnc.workflows.stuurgegevens.ontvanger [object]
## @param openforms2xxllnc.workflows.stuurgegevens.ontvanger.organisatie [string] Gemeentecode of the gemeente receiving the zs-dms requests.
## @param openforms2xxllnc.workflows.stuurgegevens.ontvanger.applicatie [string] Application name of the receiving zs-dms application.
ontvanger:
organisatie: "1111"
applicatie: "zs-dms"
## @skip openforms2xxllnc.workflows.autoRetries [object]
## @param openforms2xxllnc.workflows.autoRetries.enabled Enable automatic retries. For all workflows(unless overriden).
## @param openforms2xxllnc.workflows.autoRetries.cronExpression [string] Cron expression used for retry interval/schedule. For all workflows(unless overriden).
Expand Down Expand Up @@ -648,5 +664,14 @@ openforms2xxllnc:
onSubjectNotEqualsCaseSubject:
sendEmail: false
templateName: ""
## @skip openforms2xxllnc.workflows.onErrorActions.onCaseClosed [object]
## @param openforms2xxllnc.workflows.onErrorActions.onCaseClosed.sendEmail Enable sending a mail to the form initiator when this specific error occurs.
## Otherwise an exception is throw, which requires manual intervention. Enabling the sending of a mail requires 'openforms2xxllnc.connections.noReplySmtp' to be configured.
## @param openforms2xxllnc.workflows.onErrorActions.onCaseClosed.templateName [string] Name of the mail template to be used when this specific error occurs.
## Mail templates can be configured in the 'openforms2xxllnc.mailTemplates' section.
##
onCaseClosed:
sendEmail: false
templateName: ""


0 comments on commit 45a7708

Please sign in to comment.