Updating charts to use common resource template
[oom.git] / kubernetes / vnfsdk / templates / deployment.yaml
index d8a3d36..b53b920 100644 (file)
@@ -52,6 +52,11 @@ spec:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
         name: {{ include "common.name" . }}
+        resources:
+{{ include "common.resources" . | indent 12 }}
+        env:
+        - name: POSTGRES_SERVICE_HOST
+          value: "$(VNFSDK_DBSET_SERVICE_HOST)"
         readinessProbe:
           tcpSocket:
             port: {{ .Values.service.internalPort }}