diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 294b83f4..cec9cf9c 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "v2.3.0" description: A Helm chart for Argo Workflows name: argo -version: 0.5.1 +version: 0.5.2 diff --git a/charts/argo/templates/ui-deployment.yaml b/charts/argo/templates/ui-deployment.yaml index 31d998cd..ec2618d6 100644 --- a/charts/argo/templates/ui-deployment.yaml +++ b/charts/argo/templates/ui-deployment.yaml @@ -1,5 +1,5 @@ {{- if .Values.ui.enabled -}} -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }}-{{ .Values.ui.name}} @@ -8,6 +8,10 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ .Release.Name }}-{{ .Values.ui.name}} + release: {{ .Release.Name }} template: metadata: labels: diff --git a/charts/argo/templates/workflow-controller-deployment.yaml b/charts/argo/templates/workflow-controller-deployment.yaml index 69b5f8bc..b14bff94 100644 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }}-{{ .Values.controller.name}} @@ -8,6 +8,10 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ .Release.Name }}-{{ .Values.controller.name}} + release: {{ .Release.Name }} template: metadata: labels: