aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagdalena_Biernacka <magdalena.1.biernacka@nokia.com>2020-08-11 10:05:24 +0200
committerMagdalena_Biernacka <magdalena.1.biernacka@nokia.com>2020-08-11 10:05:24 +0200
commit50b1a39f98590601cfcbff38daeb36230b6c94db (patch)
tree112429f9b6576827d07b7b001b344982cd1c126a
parent3442e5490abef9d3880f30a316a1554a8aa065fd (diff)
[VID] Make VID compatible with Kubernetes v1.17
Issue-ID: OOM-2470 Signed-off-by: Magdalena Biernacka <magdalena.1.biernacka@nokia.com> Change-Id: I6f023a4696bdef7cab685de1c8107db48faf960f
-rw-r--r--kubernetes/vid/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/vid/templates/deployment.yaml b/kubernetes/vid/templates/deployment.yaml
index a031dbcede..663e812f1b 100644
--- a/kubernetes/vid/templates/deployment.yaml
+++ b/kubernetes/vid/templates/deployment.yaml
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@ -24,6 +24,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: