Skip to content

Commit

Permalink
Add defaultFlow to helm chart (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
velothump authored May 19, 2020
1 parent 1e3e302 commit 6611a13
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/logging-operator-logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ The following tables lists the configurable parameters of the logging-operator-l
| `fluentd.tolerations` | Tolerations for fluentd statefulset | none |
| `fluentd.nodeSelector` | Node selector for fluentd pods | none |
| `fluentd.podPriorityClassName` | Priority class name for fluentd pods | none |
| `defaultFlow` | Default Flow | {} |
| `clusterFlows` | Array of ClusterFlows to be created | [] |
| `clusterOutputs` | Array of ClusterOutputs to be created | [] |
4 changes: 4 additions & 0 deletions charts/logging-operator-logging/templates/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
flowConfigOverride: {{ . }}
{{- end }}
controlNamespace: {{ .Values.controlNamespace | default .Release.Namespace }}
{{- if .Values.defaultFlow }}
defaultFlow:
{{ toYaml .Values.defaultFlow | indent 4}}
{{- end }}
fluentd:
tls:
{{- if .Values.tls.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions charts/logging-operator-logging/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ watchNamespaces: []
# Control namespace that contains ClusterOutput and ClusterFlow resources
controlNamespace: ""

# defaultFlow
defaultFlow: {}

# ClusterFlows to deploy
clusterFlows: []

Expand Down

0 comments on commit 6611a13

Please sign in to comment.