aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-09 06:29:50 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-09 06:29:50 +0000
commit9b959d591cdf23e1c87eef45d22a896c2caea771 (patch)
treee72898cbcd9c1b675981a6469f5a346decdec41d /kubernetes
parent4c2f578754c79f0336e4ba83a236436af36fd58e (diff)
parente4cb01abe7ccfe6300cc884d0c7386c41a11ca61 (diff)
Merge "Make COMMON/NETWORK-NAME-GEN compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/common/network-name-gen/templates/deployment.yaml5
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: