github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/application/applications/reconciling/logs/logs.go (about) 1 package logs 2 3 import ( 4 "github.com/caos/orbos/internal/operator/boom/application/applications/logcollection/logging" 5 ) 6 7 func GetFlow(outputs []string, clusterOutputs []string) *logging.FlowConfig { 8 ls := map[string]string{ 9 "app.kubernetes.io/instance": "argocd", 10 "app.kubernetes.io/part-of": "argocd", 11 } 12 13 return &logging.FlowConfig{ 14 Name: "flow-argocd", 15 Namespace: "caos-system", 16 SelectLabels: ls, 17 Outputs: outputs, 18 ClusterOutputs: clusterOutputs, 19 ParserType: "logfmt", 20 } 21 }