aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/modeling
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-07-23 09:58:33 +0200
committerGrzegorz-Lis <grzegorz.lis@nokia.com>2020-07-23 09:58:33 +0200
commit2128ba9386f599b63c04222083fa2409374ae826 (patch)
tree5a4100c65c2db1960e432c57bfdcdc202224788b /kubernetes/modeling
parentb1da772a78fcf3b8b12df8a15b244f661e1778b4 (diff)
[MODELING] Make MODELING compatible with Kubernetes v1.17
Issue-ID: OOM-2457 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I9512abf462c8feef39cea3e3fa95794f0f0b223c
Diffstat (limited to 'kubernetes/modeling')
-rw-r--r--kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml b/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml
index 0c1ba300bb..d3ca0416dc 100644
--- a/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml
+++ b/kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml
@@ -12,7 +12,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" . }}
@@ -23,6 +23,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: