Skip to content

Commit

Permalink
update apiVersion of Deployment (#3161)
Browse files Browse the repository at this point in the history
  • Loading branch information
oke-py authored and dgageot committed Nov 6, 2019
1 parent 448e401 commit a49e0bd
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "subchart.name" . }}
Expand All @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "subchart.name" . }}
release: {{ .Release.Name }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "skaffold-helm.name" . }}
Expand All @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "skaffold-helm.name" . }}
release: {{ .Release.Name }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
Expand All @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "skaffold-helm.name" . }}
release: {{ .Release.Name }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "subchart.name" . }}
Expand All @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "subchart.name" . }}
release: {{ .Release.Name }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "skaffold-helm.name" . }}
Expand All @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "skaffold-helm.name" . }}
release: {{ .Release.Name }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
Expand All @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "skaffold-helm.name" . }}
release: {{ .Release.Name }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
Expand Down

0 comments on commit a49e0bd

Please sign in to comment.