diff --git a/charts/axosyslog-collector/Chart.yaml b/charts/axosyslog-collector/Chart.yaml index ef33ad0..45a1e0b 100644 --- a/charts/axosyslog-collector/Chart.yaml +++ b/charts/axosyslog-collector/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: axosyslog-collector description: AxoSyslog kubernetes log collector type: application -version: 0.1.0 +version: 0.1.1 appVersion: "4.1.1" diff --git a/charts/axosyslog-collector/templates/config.yaml b/charts/axosyslog-collector/templates/config.yaml index 38f7d3e..bc58d52 100644 --- a/charts/axosyslog-collector/templates/config.yaml +++ b/charts/axosyslog-collector/templates/config.yaml @@ -9,7 +9,7 @@ data: syslog-ng.conf: {{ tpl (toYaml .Values.config.raw) . | indent 4 }} {{- else }} syslog-ng.conf: | - @version: {{ regexFind "^[0-9]+\\.[0-9]+" (.Values.config.version | default .Values.image.tag | default .Chart.AppVersion ) }} + @version: {{ regexFind "^[0-9]+\\.[0-9]+" .Values.config.version | default "current" }} @include "scl.conf" options { diff --git a/charts/axosyslog-collector/templates/daemonset.yaml b/charts/axosyslog-collector/templates/daemonset.yaml index 613334f..34f4d4c 100644 --- a/charts/axosyslog-collector/templates/daemonset.yaml +++ b/charts/axosyslog-collector/templates/daemonset.yaml @@ -125,6 +125,10 @@ spec: {{ toYaml (.Values.extraVolumeMounts | default .Values.daemonset.extraVolumeMounts ) | indent 12 }} {{- end }} livenessProbe: + initialDelaySeconds: 5 + periodSeconds: 30 + timeoutSeconds: 5 + failureThreshold: 3 exec: - command: ["syslog-ng-ctl", "healthcheck", "--timeout", "1"] + command: ["syslog-ng-ctl", "healthcheck", "--timeout", "5"] {{- end }} diff --git a/charts/axosyslog-collector/values.yaml b/charts/axosyslog-collector/values.yaml index de64ef4..2922a65 100644 --- a/charts/axosyslog-collector/values.yaml +++ b/charts/axosyslog-collector/values.yaml @@ -1,7 +1,7 @@ image: repository: ghcr.io/axoflow/axosyslog pullPolicy: IfNotPresent - tag: "" + tag: "nightly" # until releasing v4.2 imagePullSecrets: [] nameOverride: ""