Skip to content

Commit

Permalink
fix: logging-operator-logging logging.yaml template (kube-logging#539)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Millan Rodriguez <sergio.rodriguez@ticketmaster.co.uk>
  • Loading branch information
sermilrod authored and EppO committed Apr 21, 2021
1 parent e81a40f commit f1b0a71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/logging-operator-logging/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "3.4.0"
description: A Helm chart to configure logging resource for the Logging operator
name: logging-operator-logging
version: 3.4.0
version: 3.4.1
icon: https://raw.githubusercontent.com/banzaicloud/logging-operator/master/docs/img/icon.png
8 changes: 6 additions & 2 deletions charts/logging-operator-logging/templates/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ spec:
enabled: true
secretName: {{ .Values.tls.fluentdSecretName | default (printf "%s-%s" (include "logging-operator-logging.name" . ) "fluentd-tls" ) }}
sharedKey: "{{ .Values.tls.sharedKey }}"
{{- else -}}
{{- else }}
enabled: false
secretName: {{ .Values.tls.fluentdSecretName | default (printf "%s-%s" (include "logging-operator-logging.name" . ) "fluentd-tls" ) }}
sharedKey: "{{ .Values.tls.sharedKey }}"
{{- end }}
{{- if .Values.fluentd }}
{{ toYaml .Values.fluentd | indent 4}}
Expand All @@ -40,8 +42,10 @@ spec:
enabled: true
secretName: {{ .Values.tls.fluentbitSecretName | default (printf "%s-%s" (include "logging-operator-logging.name" . ) "fluentbit-tls" ) }}
sharedKey: "{{ .Values.tls.sharedKey }}"
{{- else -}}
{{- else }}
enabled: false
secretName: {{ .Values.tls.fluentbitSecretName | default (printf "%s-%s" (include "logging-operator-logging.name" . ) "fluentbit-tls" ) }}
sharedKey: "{{ .Values.tls.sharedKey }}"
{{- end }}
{{- if .Values.fluentbit }}
{{ toYaml .Values.fluentbit | indent 4}}
Expand Down

0 comments on commit f1b0a71

Please sign in to comment.