[stable/k8s-spot-termination-handler] Update api version of daemonset (#16451)

* use apps/v1 as apiVersion for daemonset

Signed-off-by: Moritz Siuts <moritzs@moia.io>

* Bump patch version of k8s-spot-termination-handler

Signed-off-by: Moritz Siuts <moritzs@moia.io>
This commit is contained in:
Moritz Siuts
2019-09-12 23:34:34 -07:00
committed by Kubernetes Prow Robot
parent 1e193caf85
commit 0bca75c868
2 changed files with 6 additions and 2 deletions
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.13.7-1"
description: The K8s Spot Termination handler handles draining AWS Spot Instances in response to termination requests.
name: k8s-spot-termination-handler
version: 1.4.3
version: 1.4.4
keywords:
- spot
- termination
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ template "k8s-spot-termination-handler.fullname" . }}
@@ -8,6 +8,10 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ template "k8s-spot-termination-handler.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.updateStrategy }}
updateStrategy:
type: {{ .Values.updateStrategy }}