Merge "[COMMON] Add limits to timescale db"
[oom.git] / kubernetes / dcaegen2 / components / dcae-policy-handler / templates / deployment.yaml
index a4becb5..b8c2435 100644 (file)
@@ -109,9 +109,9 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           volumeMounts:
-            - mountPath: /opt/app/policy_handler/logs
+            - mountPath: /app/logs
               name: component-log
-            - mountPath: /opt/app/policy_handler/etc/tls/certs/
+            - mountPath: /app/etc/tls/certs/
               name: tls-info
           env:
             - name: CONSUL_HOST
@@ -145,6 +145,7 @@ spec:
           - mountPath: /usr/share/filebeat/filebeat.yml
             name: filebeat-conf
             subPath: filebeat.yml
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
         - emptyDir: {}
           name: component-log