From a2995ed8da6fef8eef4aa9f51d64ea073350697a Mon Sep 17 00:00:00 2001 From: DutchEllie Date: Sat, 12 Mar 2022 19:40:30 +0100 Subject: [PATCH] Alright, another templating issue --- .drone/helm/chart/templates/ingress.yaml | 2 +- .drone/helm/staging-val.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone/helm/chart/templates/ingress.yaml b/.drone/helm/chart/templates/ingress.yaml index 7b3895f..3aac84e 100644 --- a/.drone/helm/chart/templates/ingress.yaml +++ b/.drone/helm/chart/templates/ingress.yaml @@ -28,7 +28,7 @@ spec: pathType: {{ .pathType }} backend: service: - name: {{ .Values.service.name }} + name: {{ $.Values.service.name }} port: number: 8000 {{- end }} diff --git a/.drone/helm/staging-val.yaml b/.drone/helm/staging-val.yaml index 61ed806..026e067 100644 --- a/.drone/helm/staging-val.yaml +++ b/.drone/helm/staging-val.yaml @@ -1,5 +1,6 @@ name: newsite-staging -service: newsite-staging +service: + name: newsite-staging ingress: name: newsite-staging tls: