github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/fluentbit-opensearch-output/templates/application-clusteroutput.yaml (about) 1 # Copyright (c) 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 {{ if .Capabilities.APIVersions.Has "fluentbit.fluent.io/v1alpha2" -}} 4 {{- if .Values.application.enabled }} 5 apiVersion: fluentbit.fluent.io/v1alpha2 6 kind: ClusterOutput 7 metadata: 8 name: opensearch-application-clusteroutput 9 labels: 10 fluentbit.fluent.io/enabled: "true" 11 spec: 12 matchRegex: {{ .Values.application.matchRegex }} 13 retry_limit: "no_limits" 14 opensearch: 15 {{- if .Values.application.host}} 16 host: {{ .Values.application.host }} 17 {{- end}} 18 {{- if .Values.application.port}} 19 port: {{ .Values.application.port }} 20 {{- end}} 21 {{- if .Values.application.dataStreamMode}} 22 dataStreamMode: {{ .Values.application.dataStreamMode }} 23 {{- end}} 24 {{- if .Values.application.dataStreamName}} 25 dataStreamName: {{ .Values.application.dataStreamName }} 26 {{- end}} 27 {{- if .Values.application.dataStreamTemplateName}} 28 dataStreamTemplateName: {{ .Values.application.dataStreamTemplateName }} 29 {{- end}} 30 {{- if .Values.application.templateFile}} 31 templateFile: {{ .Values.application.templateFile }} 32 {{- end}} 33 {{- if .Values.application.httpUser }} 34 httpUser: 35 {{ toYaml .Values.application.httpUser | indent 6 }} 36 {{- end}} 37 {{- if .Values.application.httpPassword }} 38 httpPassword: 39 {{ toYaml .Values.application.httpPassword | indent 6 }} 40 {{- end}} 41 replaceDots: true 42 suppressTypeName: true 43 {{- if .Values.application.tls.enabled }} 44 tls: 45 caFile: {{ .Values.application.tls.caFile }} 46 crtFile: {{ .Values.application.tls.crtFile }} 47 {{- end }} 48 {{- end }} 49 {{ end -}}