Merge "Ingress: Fix deployment type switching"
This commit is contained in:
commit
a4a9b9c360
@ -14,8 +14,13 @@
|
|||||||
|
|
||||||
{{- $envAll := . }}
|
{{- $envAll := . }}
|
||||||
---
|
---
|
||||||
|
{{- if eq .Values.deployment_type "Deployment" }}
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1beta1
|
||||||
kind: {{ .Values.deployment_type }}
|
kind: Deployment
|
||||||
|
{{- else if eq .Values.deployment_type "DaemonSet" }}
|
||||||
|
apiVersion: extensions/v1beta1
|
||||||
|
kind: DaemonSet
|
||||||
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-api
|
name: ingress-api
|
||||||
spec:
|
spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user