summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/charts/multicloud-k8s/templates
diff options
context:
space:
mode:
authorkwasiel <katarzyna.wasiel@nokia.com>2020-07-23 10:09:57 +0000
committerkwasiel <katarzyna.wasiel@nokia.com>2020-07-23 10:09:57 +0000
commitd74d38fe135537822c955d24b79498b50bc0e487 (patch)
tree33a269ab1e13f4f5340d0b2f90a12d06eab4278c /kubernetes/multicloud/charts/multicloud-k8s/templates
parent59cc6a44df6a1807b72af9944f843c30d80f3c35 (diff)
[MULTICLOUD] Make MULTICLOUD compatible with Kubernetes v1.17
Issue-ID: OOM-2459 Signed-off-by: Katarzyna Wasiel <katarzyna.wasiel@nokia.com> Change-Id: I0c52e0c0de799cd90270794f51ad000f05122265
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-k8s/templates')
-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: