mirror of https://git.rancher.io/charts
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
{{- if .Values.additionalLoggingSources.aks.enabled }}
|
|
apiVersion: logging.banzaicloud.io/v1beta1
|
|
kind: Logging
|
|
metadata:
|
|
name: {{ .Release.Name }}-aks
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "logging-operator.labels" . | indent 4 }}
|
|
spec:
|
|
controlNamespace: {{ .Release.Namespace }}
|
|
fluentbit:
|
|
image:
|
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.fluentbit.repository }}
|
|
tag: {{ .Values.images.fluentbit.tag }}
|
|
inputTail:
|
|
Tag: "aks"
|
|
Path: "/var/log/azure/kubelet-status.log"
|
|
{{- if .Values.global.psp.enabled }}
|
|
security:
|
|
podSecurityPolicyCreate: true
|
|
roleBasedAccessControlCreate: true
|
|
{{- end }}
|
|
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
|
{{- with $total_tolerations }}
|
|
tolerations: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.nodeSelector }}
|
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.fluentbit.resources }}
|
|
resources: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
fluentd:
|
|
image:
|
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.fluentd.repository }}
|
|
tag: {{ .Values.images.fluentd.tag }}
|
|
configReloaderImage:
|
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
|
tag: {{ .Values.images.config_reloader.tag }}
|
|
disablePvc: {{ .Values.disablePvc }}
|
|
{{- if .Values.global.psp.enabled }}
|
|
security:
|
|
podSecurityPolicyCreate: true
|
|
roleBasedAccessControlCreate: true
|
|
{{- end }}
|
|
{{- with .Values.tolerations }}
|
|
tolerations: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.nodeSelector }}
|
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.fluentd.resources }}
|
|
resources: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.fluentd.livenessProbe }}
|
|
livenessProbe: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- end }}
|