chore: use the new api for ingress (#20648)

Signed-off-by: Abdulrahman Khalil <a.skhalil93@gmail.com>
This commit is contained in:
Abdulrahman Khalil
2020-03-01 21:48:42 -08:00
committed by GitHub
parent c38f752d85
commit 2d037478c2
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 5.0.3
version: 5.0.4
appVersion: 6.6.2
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+4
View File
@@ -3,7 +3,11 @@
{{- $servicePort := .Values.service.port -}}
{{- $ingressPath := .Values.ingress.path -}}
{{- $extraPaths := .Values.ingress.extraPaths -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
apiVersion: networking.k8s.io/v1beta1
{{ else }}
apiVersion: extensions/v1beta1
{{ end -}}
kind: Ingress
metadata:
name: {{ $fullName }}