Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checksum/config annotations for fluentd and otelcol #1053

Merged
merged 2 commits into from
Nov 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy/helm/sumologic/templates/events-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/events-configmap.yaml") . | sha256sum }}
{{- if .Values.sumologic.podAnnotations }}
{{ toYaml .Values.sumologic.podAnnotations | indent 8 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/sumologic/templates/metrics-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/metrics-configmap.yaml") . | sha256sum }}
{{- if .Values.sumologic.podAnnotations }}
{{ toYaml .Values.sumologic.podAnnotations | indent 8 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/sumologic/templates/otelcol-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/otelcol-configmap.yaml") . | sha256sum }}
{{- if .Values.sumologic.podAnnotations }}
{{ toYaml .Values.sumologic.podAnnotations | indent 8 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/sumologic/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.sumologic.podAnnotations }}
{{ toYaml .Values.sumologic.podAnnotations | indent 8 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions deploy/kubernetes/fluentd-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 0bf7c8ff7715052ad6841ac6ef5538bf23b7edd9658a7dc61293ba79dc6fc6d1
labels:
app: collection-sumologic-fluentd-events

Expand Down Expand Up @@ -918,6 +919,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 3afb60dadd2ece2c777a0ff8fbb0e93071462c0c0d22350a177337d13d2db52b
labels:
app: collection-sumologic-fluentd-metrics

Expand Down Expand Up @@ -1054,6 +1056,7 @@ spec:
template:
metadata:
annotations:
checksum/config: a9fb57d3d5586e56609fd070faf77f932578401288f9c98ea5310222ecbdc6a1
labels:
app: collection-sumologic-fluentd-logs

Expand Down