Add one-click deployment scripts and override file examples.
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / dbaas / templates / deployment.yaml
index 1589b24..8d2014f 100644 (file)
@@ -26,7 +26,7 @@ metadata:
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
 spec:
-  replicas: {{ .Values.backend.replicas }}
+  replicas: {{ .Values.dbaas.backend.replicas }}
   selector:
     matchLabels:
       app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
@@ -39,11 +39,11 @@ spec:
     spec:
       imagePullSecrets:
        - name: {{ include "common.repositoryCred" . }}
-      terminationGracePeriodSeconds: {{ .Values.backend.terminationGracePeriodSeconds }}
+      terminationGracePeriodSeconds: {{ .Values.dbaas.backend.terminationGracePeriodSeconds }}
       containers:
-      - image: {{ include "common.repository" . }}/{{ .Values.backend.image.name }}:{{ .Values.backend.image.tag }}
+      - image: {{ include "common.repository" . }}/{{ .Values.dbaas.backend.image.name }}:{{ .Values.dbaas.backend.image.tag }}
         imagePullPolicy: {{ include "common.pullPolicy" . }}
         ports:
-        - containerPort: {{ .Values.backend.targetPort }}
+        - containerPort: {{ .Values.dbaas.backend.targetPort }}
         name: {{ include "common.namespace" . }}-{{ include "common.name" . }}
       restartPolicy: Always