From 4d42fda6094ca17fa2b250f3f0c7ccd4a266b313 Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Fri, 13 May 2022 12:16:35 +0200 Subject: [PATCH 1/2] Fix indentation for webapp/ingress --- .../helm/app/templates/application/webapp/ingress.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/spryker/helm/app/templates/application/webapp/ingress.yaml b/src/spryker/helm/app/templates/application/webapp/ingress.yaml index f6d8c0a33..84f7c5837 100644 --- a/src/spryker/helm/app/templates/application/webapp/ingress.yaml +++ b/src/spryker/helm/app/templates/application/webapp/ingress.yaml @@ -2,11 +2,10 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: -{{- with .Values.ingress.annotations }} + {{- with .Values.ingress.annotations }} annotations: {{- . | toYaml | nindent 4 }} -{{- end }} - creationTimestamp: null + {{- end }} labels: {{- include "chart.labels" . | nindent 4 }} app.kubernetes.io/component: webapp @@ -32,7 +31,7 @@ spec: {{- end }} {{- if .Values.ingress.tls }} tls: - {{- toYaml .Values.ingress.tls | nindent 4 }} + {{- toYaml .Values.ingress.tls | nindent 4 }} {{- end }} status: loadBalancer: {} From 9441d432a350c79b6c1b97aec0bcdad1e0d74a53 Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Fri, 13 May 2022 13:43:15 +0200 Subject: [PATCH 2/2] Remove creationTimestamp from ingress --- src/_base/helm/app/templates/application/webapp/ingress.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/_base/helm/app/templates/application/webapp/ingress.yaml b/src/_base/helm/app/templates/application/webapp/ingress.yaml index 376db722b..7b872806d 100644 --- a/src/_base/helm/app/templates/application/webapp/ingress.yaml +++ b/src/_base/helm/app/templates/application/webapp/ingress.yaml @@ -2,11 +2,10 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: -{{- with .Values.ingress.annotations }} + {{- with .Values.ingress.annotations }} annotations: {{- . | toYaml | nindent 4 }} -{{- end }} - creationTimestamp: null + {{- end }} labels: {{- include "chart.labels" . | nindent 4 }} app.kubernetes.io/component: webapp