[GLOBAL] Migrate to helm v3

Move all Chart.yaml to use apiVersion: 2
Move dependencies from requirements.yaml to Chart.yaml
Changes to all makeFiles
Changes to helm deploy plugin

Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0
Issue-ID: OOM-2845
diff --git a/kubernetes/common/network-name-gen/Chart.yaml b/kubernetes/common/network-name-gen/Chart.yaml
index 3f54927..2712596 100644
--- a/kubernetes/common/network-name-gen/Chart.yaml
+++ b/kubernetes/common/network-name-gen/Chart.yaml
@@ -1,5 +1,6 @@
 # Copyright (C) 2018  AT&T Intellectual Property.  All rights reserved.

 # Modifications Copyright © 2021 Orange

+# Modifications Copyright © 2021 Nordix Foundation

 #

 # Licensed under the Apache License, Version 2.0 (the "License");

 # you may not use this file except in compliance with the License.

@@ -13,7 +14,23 @@
 # See the License for the specific language governing permissions and

 # limitations under the License.

 

-apiVersion: v1

+apiVersion: v2

 description: Name Generation Micro Service

 name: network-name-gen

-version: 9.0.0

+version: 10.0.0

+

+dependencies:

+  - name: common

+    version: ~10.x-0

+    repository: 'file://../common'

+  - name: repositoryGenerator

+    version: ~10.x-0

+    repository: 'file://../repositoryGenerator'

+  - name: mariadb-galera

+    version: ~10.x-0

+    repository: 'file://../mariadb-galera'

+    condition: global.mariadbGalera.localCluster

+  - name: mariadb-init

+    version: ~10.x-0

+    repository: 'file://../mariadb-init'

+    condition: not global.mariadbGalera.localCluster
\ No newline at end of file