flux-charts/infra-ingress/templates/traefik/flow.yaml

28 lines
616 B
YAML

{{- if and
(eq .Values.controller "traefik")
(.Capabilities.APIVersions.Has "logging.banzaicloud.io/v1beta1/Flow")
}}
---
apiVersion: logging.banzaicloud.io/v1beta1
kind: Flow
metadata:
name: traefik
spec:
match:
- select:
labels:
app.kubernetes.io/name: traefik
filters:
- tag_normaliser: {}
- parser:
reserve_data: true
remove_key_name_field: true
parse:
type: json
time_key: "time"
time_type: "string"
time_format: "%iso8601"
hash_value_field: "traefik"
globalOutputRefs:
- "default"
{{- end }}