summaryrefslogtreecommitdiffstats
path: root/deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2020-06-01 02:12:39 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-01 02:12:39 +0000
commit7959bd4c6fd403cf4ba58bf572b1259267b3c76d (patch)
treee9fab6070d612a7c703d7eaf056f14818b466a20 /deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml
parent1481548c635f95d245138aba7ac710668e25bfe1 (diff)
parent662f6d95a1461d05ad6605599f4f895b5a90f7a1 (diff)
Merge "Update the Kubernetes Version to 1.16"
Diffstat (limited to 'deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml')
-rw-r--r--deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml b/deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml
index 846a7513..907afd32 100644
--- a/deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml
+++ b/deployments/helm/onap4k8s/charts/multicloud-k8s/templates/deployment.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
*/}}
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@ -26,6 +26,10 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
+ release: {{ .Release.Name }}
template:
metadata:
labels: