From 66ccb3a0c205ab2ad41bf9891abf7e47bac5f1a3 Mon Sep 17 00:00:00 2001 From: erkan <erkan.yanar@linsenraum.de> Date: Wed, 13 Feb 2019 00:49:05 +0100 Subject: [PATCH] fixed promtail ds, it had deployment options --- production/helm/templates/promtail/daemonset.yaml | 5 ++--- production/helm/values.yaml | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/production/helm/templates/promtail/daemonset.yaml b/production/helm/templates/promtail/daemonset.yaml index 8e897b70..24370380 100644 --- a/production/helm/templates/promtail/daemonset.yaml +++ b/production/helm/templates/promtail/daemonset.yaml @@ -12,12 +12,11 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: - replicas: {{ .Values.promtail.replicas }} selector: matchLabels: app: {{ template "promtail.name" . }} release: {{ .Release.Name }} - strategy: + updateStrategy: type: {{ .Values.promtail.deploymentStrategy }} {{- if ne .Values.promtail.deploymentStrategy "RollingUpdate" }} rollingUpdate: null @@ -95,4 +94,4 @@ spec: path: /var/log - name: varlibdockercontainers hostPath: - path: /var/lib/docker/containers \ No newline at end of file + path: /var/lib/docker/containers diff --git a/production/helm/values.yaml b/production/helm/values.yaml index ae55dfec..0754974e 100644 --- a/production/helm/values.yaml +++ b/production/helm/values.yaml @@ -94,7 +94,6 @@ loki: promtail: nameOverride: promtail - replicas: 1 deploymentStrategy: RollingUpdate image: -- GitLab