From 2fda558edfed8ee443f8940c90043a2095de4a98 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 9 Jan 2022 01:25:28 +0200 Subject: [PATCH] fix(fireflyiii): Actually render env on cronjob and revert port change (#1664) --- charts/stable/fireflyiii/Chart.yaml | 2 +- charts/stable/fireflyiii/templates/_cronjob.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/stable/fireflyiii/Chart.yaml b/charts/stable/fireflyiii/Chart.yaml index ed9ed991639..7f2b7de73c3 100644 --- a/charts/stable/fireflyiii/Chart.yaml +++ b/charts/stable/fireflyiii/Chart.yaml @@ -28,7 +28,7 @@ name: fireflyiii sources: - https://github.com/firefly-iii/firefly-iii/ type: application -version: 13.1.11 +version: 13.1.12 annotations: truecharts.org/catagories: | - finacial diff --git a/charts/stable/fireflyiii/templates/_cronjob.tpl b/charts/stable/fireflyiii/templates/_cronjob.tpl index 91a94f8f30b..422340d6090 100644 --- a/charts/stable/fireflyiii/templates/_cronjob.tpl +++ b/charts/stable/fireflyiii/templates/_cronjob.tpl @@ -47,7 +47,7 @@ spec: image: "{{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}" args: - curl - - "http://{{ $jobName }}.ix-{{ .Release.Name }}.svc.cluster.local:{{ .Values.service.main.ports.main.targetPort }}/api/v1/cron/$STATIC_CRON_TOKEN" + - "http://{{ $jobName }}.ix-{{ .Release.Name }}.svc.cluster.local:{{ .Values.service.main.ports.main.port }}/api/v1/cron/$(STATIC_CRON_TOKEN)" resources: {{ toYaml .Values.resources | indent 16 }}