summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorkwasiel <katarzyna.wasiel@nokia.com>2020-07-14 10:27:53 +0000
committerKatarzyna Wasiel <katarzyna.wasiel@nokia.com>2020-07-15 13:58:18 +0000
commit36800cdad514f5ca28f6c6dadb4183d8fa8aa0f8 (patch)
tree223d87a9ca66af33a3321d2704b0235d746b265f /kubernetes
parentc7b1cb5f8f4f06a5d93eab188f564484fa7a8549 (diff)
[CLI] Add Kubernetes v1.17 compatibility
Issue-ID: OOM-2450 Signed-off-by: Katarzyna Wasiel <katarzyna.wasiel@nokia.com> Change-Id: I9d599707a4d11eef815aa3c04e8756c893151f56
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/cli/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/cli/templates/deployment.yaml b/kubernetes/cli/templates/deployment.yaml
index 58fc6663c5..539279f93d 100644
--- a/kubernetes/cli/templates/deployment.yaml
+++ b/kubernetes/cli/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" . }}
@@ -24,6 +24,9 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
template:
metadata:
labels: