diff options
author | milaszki <daniel.milaszkiewicz@nokia.com> | 2020-07-07 12:45:36 +0000 |
---|---|---|
committer | milaszki <daniel.milaszkiewicz@nokia.com> | 2020-07-07 12:45:36 +0000 |
commit | e4cb01abe7ccfe6300cc884d0c7386c41a11ca61 (patch) | |
tree | 29c220f8c3bbf0f53af81dc63af6c9b376031988 | |
parent | 88c4c3788d35af106d46ace89fabfb1efca1bca8 (diff) |
Make COMMON/NETWORK-NAME-GEN compatible with Kubernetes v1.17
Issue-ID: OOM-2485
Signed-off-by: Daniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com>
Change-Id: I4e284a877298e9c013926bc0a84fa535d7eafda9
-rw-r--r-- | kubernetes/common/network-name-gen/templates/deployment.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/common/network-name-gen/templates/deployment.yaml b/kubernetes/common/network-name-gen/templates/deployment.yaml index b9550c7666..87dd622c35 100644 --- a/kubernetes/common/network-name-gen/templates/deployment.yaml +++ b/kubernetes/common/network-name-gen/templates/deployment.yaml @@ -14,7 +14,7 @@ # limitations under the License. */}} -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -26,6 +26,9 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} template: metadata: labels: |