4610dc0194
This updates the fluentd chart to add support for leveraging a Kafka output. This required adding a kafka endpoint entry to the chart's values.yaml, as well as the required template updates to the fluentd deployment template and the addition of a secret for kafka credentials Depends-On: https://review.opendev.org/#/c/679297/ Change-Id: I80a487a0538f0b3704fb598da38c07feedaccb0e Signed-off-by: Steve Wilkerson <sw5822@att.com>
29 lines
936 B
YAML
29 lines
936 B
YAML
{{/*
|
|
Copyright 2019 The Openstack-Helm Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
|
|
{{- if .Values.manifests.secret_kafka }}
|
|
{{- $envAll := . }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-%s" $envAll.Release.Name "kafka-user" | quote }}
|
|
type: Opaque
|
|
data:
|
|
KAFKA_USERNAME: {{ .Values.endpoints.kafka.auth.admin.username | b64enc }}
|
|
KAFKA_PASSWORD: {{ .Values.endpoints.kafka.auth.admin.password | b64enc }}
|
|
{{- end }}
|