From c65f40a7ff990c2993187525e44552a88c0ddeaf Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Fri, 6 Nov 2020 15:40:08 -0300 Subject: [PATCH] Fix edemoUrl variable inside deployments --- .../edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml | 2 +- .../v0.4.0/templates/audienciasworker-deployment.yaml | 2 +- charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml | 2 +- charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml | 2 +- charts/edemocracia/v0.4.0/templates/wikilegis-deployment.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml b/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml index 413f0af..21dd852 100644 --- a/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml @@ -1,5 +1,5 @@ {{- if eq .Values.audiencias.enabled "True" }} -{{- $edemoUrl := (index .Values.ingress.hosts 0) -}} +{{- $edemoUrl := .Values.edemocracia.hostname -}} apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml b/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml index 7404682..33c14c7 100644 --- a/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml @@ -1,5 +1,5 @@ {{- if eq .Values.audiencias.enabled "True" }} -{{- $edemoUrl := (index .Values.ingress.hosts 0) -}} +{{- $edemoUrl := .Values.edemocracia.hostname -}} apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml b/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml index 108cf6f..adfe332 100644 --- a/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml @@ -1,5 +1,5 @@ {{- if eq .Values.discourse.enabled "True" }} -{{- $edemoUrl := (index .Values.ingress.hosts 0) -}} +{{- $edemoUrl := .Values.edemocracia.hostname -}} apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml b/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml index cbb88ce..a44f5b8 100644 --- a/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml @@ -1,4 +1,4 @@ -{{- $edemoUrl := (index .Values.ingress.hosts 0) -}} +{{- $edemoUrl := .Values.edemocracia.hostname -}} apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/edemocracia/v0.4.0/templates/wikilegis-deployment.yaml b/charts/edemocracia/v0.4.0/templates/wikilegis-deployment.yaml index 520ba56..526cad5 100644 --- a/charts/edemocracia/v0.4.0/templates/wikilegis-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/wikilegis-deployment.yaml @@ -1,5 +1,5 @@ {{- if eq .Values.wikilegis.enabled "True" }} -{{- $edemoUrl := (index .Values.ingress.hosts 0) -}} +{{- $edemoUrl := .Values.edemocracia.hostname -}} apiVersion: apps/v1 kind: Deployment metadata: