diff --git a/ingress/templates/deployment-ingress.yaml b/ingress/templates/deployment-ingress.yaml index 7f101a0035..86150b1361 100644 --- a/ingress/templates/deployment-ingress.yaml +++ b/ingress/templates/deployment-ingress.yaml @@ -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: