summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-24 08:16:53 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-24 08:16:53 +0000
commit1fee80ff597a8fe2895c48fe07a0c79432d6c26d (patch)
tree109253c2baea2c1195ea20299d28e08095a4bd2e /kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml
parent194cf8841a826fd2c8a920248900755b9f83494b (diff)
parentd74d38fe135537822c955d24b79498b50bc0e487 (diff)
Merge "[MULTICLOUD] Make MULTICLOUD compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml')
-rw-r--r--kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml
index bf4a9445aa..a64324a86e 100644
--- a/kubernetes/multicloud/charts/multicloud-k8s/templates/deployment.yaml
+++ b/kubernetes/multicloud/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" . }}
@@ -25,6 +25,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: