Fix security issues in DBAAS docker image
[ric-plt/dbaas.git] / charts / dbaas-service / templates / deployment.yaml
index 4bf006d..8446b8e 100644 (file)
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-apiVersion: extensions/v1beta1
+#
+#   This source code is part of the near-RT RIC (RAN Intelligent Controller)
+#   platform project (RICP).
+#
+
+apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: {{ .Values.backend.name }}
 spec:
   replicas: {{ .Values.backend.replicas }}
+  selector:
+    matchLabels:
+      app: {{ .Values.backend.name }}
   template:
     metadata:
       labels: