Merge "Ingress: Fix deployment type switching"
This commit is contained in:
commit
a4a9b9c360
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user