Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[filebeat] move maxUnavailable to daemonset scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlrt committed Jan 28, 2021
1 parent 8fa9d54 commit 2ce2c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion filebeat/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
updateStrategy:
{{- if eq .Values.updateStrategy "RollingUpdate" }}
rollingUpdate:
maxUnavailable: {{ .Values.maxUnavailable }}
maxUnavailable: {{ .Values.daemonset.maxUnavailable }}
{{- end }}
type: {{ .Values.updateStrategy }}
template:
Expand Down
4 changes: 2 additions & 2 deletions filebeat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ daemonset:
output.elasticsearch:
host: '${NODE_NAME}'
hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}'
# Only used when updateStrategy is set to "RollingUpdate"
maxUnavailable: 1
nodeSelector: {}
# A list of secrets and their paths to mount inside the pod
# This is useful for mounting certificates for security other sensitive values
Expand Down Expand Up @@ -207,8 +209,6 @@ terminationGracePeriod: 30
priorityClassName: ""

updateStrategy: RollingUpdate
# Only used when updateStrategy is set to "RollingUpdate"
MaxUnavailable: 1

# Override various naming aspects of this chart
# Only edit these if you know what you're doing
Expand Down

0 comments on commit 2ce2c79

Please sign in to comment.