diff --git a/helm/templates/deployment-app.yaml b/helm/templates/deployment-app.yaml index cb72fc74b..3a10cab62 100644 --- a/helm/templates/deployment-app.yaml +++ b/helm/templates/deployment-app.yaml @@ -109,40 +109,10 @@ spec: {{- if .Values.fluentbit.securityContext.enabled }} securityContext: {{- omit .Values.fluentbit.securityContext "enabled" | toYaml | nindent 12 }} {{- end }} - env: - - name: SERVER_LOGFILE - value: /tmp/*.log - ports: - - name: metrics - containerPort: 2020 - protocol: TCP - - name: http-plugin - containerPort: 80 - protocol: TCP - livenessProbe: - httpGet: - path: / - port: metrics - initialDelaySeconds: 10 - timeoutSeconds: 1 - periodSeconds: 60 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: / - port: metrics - initialDelaySeconds: 10 - timeoutSeconds: 1 - periodSeconds: 60 - successThreshold: 1 - failureThreshold: 3 {{- if .Values.fluentbit.resources }} resources: {{- toYaml .Values.fluentbit.resources | nindent 12 }} {{- end }} volumeMounts: - - name: fluentbit-config - mountPath: /fluent-bit/etc - name: log-storage mountPath: /tmp/ {{- end }} @@ -150,6 +120,9 @@ spec: - configMap: name: {{include "NotifyBC.fullname" .}} name: config-volume + - name: log-storage + persistentVolumeClaim: + claimName: {{ include "NotifyBC.fullname" . }}-logs {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}