summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-07-03 09:48:21 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-07-03 09:49:20 +0200
commit54e812d8c55558957fcc876975f4debffa517796 (patch)
tree14676cf81f8e3b1d715668c993244769f3fabe65
parent9b25ec98a6e10c0da3c51b1b347461defc1fabf4 (diff)
Make COMMON/COMMON compatible with Kubernetes v1.17
Issue-ID: OOM-2478 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I7ec0b7469c1525fc1d73adaa7a8893d6effc6141
-rw-r--r--kubernetes/common/common/templates/_ingress.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/common/templates/_ingress.tpl b/kubernetes/common/common/templates/_ingress.tpl
index c3c744358c..6b4f0ed36e 100644
--- a/kubernetes/common/common/templates/_ingress.tpl
+++ b/kubernetes/common/common/templates/_ingress.tpl
@@ -78,7 +78,7 @@ nginx.ingress.kubernetes.io/ssl-redirect: "false"
{{- $ingressEnabled := include "common.ingress._overrideIfDefined" (dict "currVal" $ingressEnabled "parent" (default (dict) .Values.global.ingress) "var" "enabled") }}
{{- $ingressEnabled := include "common.ingress._overrideIfDefined" (dict "currVal" $ingressEnabled "parent" .Values.ingress "var" "enabledOverride") }}
{{- if $ingressEnabled }}
-apiVersion: extensions/v1beta1
+apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: {{ include "common.fullname" . }}-ingress