Merge "Ingress: Fix deployment type switching"

This commit is contained in:
Jenkins 2017-07-18 18:31:52 +00:00 committed by Gerrit Code Review
commit a4a9b9c360

View File

@ -14,8 +14,13 @@
{{- $envAll := . }}
---
{{- if eq .Values.deployment_type "Deployment" }}
apiVersion: apps/v1beta1
kind: {{ .Values.deployment_type }}
kind: Deployment
{{- else if eq .Values.deployment_type "DaemonSet" }}
apiVersion: extensions/v1beta1
kind: DaemonSet
{{- end }}
metadata:
name: ingress-api
spec: