adamant-zoo-87864
08/10/2022, 4:13 AMfreezing-airport-6809
freezing-airport-6809
freezing-airport-6809
freezing-airport-6809
freezing-airport-6809
adamant-zoo-87864
08/10/2022, 4:27 AMadamant-zoo-87864
08/10/2022, 4:46 AMfunction "workflow" not defined
when configuring the values file. Do I need to define it somewhere? @freezing-airport-6809great-school-54368
08/10/2022, 4:54 AMadamant-zoo-87864
08/10/2022, 5:05 AMgreat-school-54368
08/10/2022, 5:14 AMtpl
for substituting the .values.usersettings
and because of that helm is also evaluating the {{ workflow.project }}
and it is not available in helm chart helperadamant-zoo-87864
08/10/2022, 7:01 AMgreat-school-54368
08/10/2022, 7:03 AMnotifications.yaml: | {{ toYaml . | nindent 4 }}
And in your values file for notification please don’t use .values.usersettings,
Use direct valuesgreat-school-54368
08/10/2022, 7:05 AMvalues.usersettings
, substitute them manually
workflow_notifications:
enabled: false
config:
notifications:
type: aws
region: "{{ .Values.userSettings.accountRegion }}"
publisher:
topicName: "arn:aws:sns:{{ .Values.userSettings.accountRegion }}:{{ .Values.userSettings.accountNumber }}:flyte-notifications-topic"
processor:
queueName: flyte-notifications-queue
accountId: "{{ .Values.userSettings.accountNumber }}"
emailer:
subject: "Flyte: {{ project }}/{{ domain }}/{{ launch_plan.name }} has '{{ phase }}'"
sender: "<mailto:flyte@example.com|flyte@example.com>"
body: |
Execution {{ workflow.project }}/{{ workflow.domain }}/{{ workflow.name }}/{{ name }} has {{ phase }}.
Details: <https://flyte.example.com/console/projects/{{> project }}/domains/{{ domain }}/executions/{{ name }}.
{{ error }}
freezing-airport-6809
adamant-zoo-87864
08/11/2022, 6:56 AMfreezing-airport-6809
great-school-54368
08/11/2022, 5:39 PM