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

Support all securityContext resources #889

Merged
merged 2 commits into from
Sep 15, 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
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/templates/events-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
{{ toYaml .Values.fluentd.events.extraVolumes | indent 6 }}
{{- end }}
securityContext:
fsGroup: {{ .Values.fluentd.securityContext.fsGroup }}
{{- toYaml .Values.fluentd.securityContext | nindent 8 }}
containers:
- name: fluentd-events
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/templates/metrics-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
{{ toYaml .Values.fluentd.metrics.extraVolumes | indent 6 }}
{{- end }}
securityContext:
fsGroup: {{ .Values.fluentd.securityContext.fsGroup }}
{{- toYaml .Values.fluentd.securityContext | nindent 8 }}
{{- if .Values.fluentd.metrics.statefulset.priorityClassName }}
priorityClassName: {{ .Values.fluentd.metrics.statefulset.priorityClassName | quote }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
{{ toYaml .Values.fluentd.logs.extraVolumes | indent 6 }}
{{- end }}
securityContext:
fsGroup: {{ .Values.fluentd.securityContext.fsGroup }}
{{- toYaml .Values.fluentd.securityContext | nindent 8 }}
{{- if .Values.fluentd.logs.statefulset.priorityClassName }}
priorityClassName: {{ .Values.fluentd.logs.statefulset.priorityClassName | quote }}
{{- 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 @@ -816,6 +816,7 @@ spec:
name: collection-sumologic-fluentd-events
securityContext:
fsGroup: 999

containers:
- name: fluentd-events
image: sumologic/kubernetes-fluentd:1.2.2
Expand Down Expand Up @@ -898,6 +899,7 @@ spec:
name: collection-sumologic-fluentd-metrics
securityContext:
fsGroup: 999

sumo-drosiek marked this conversation as resolved.
Show resolved Hide resolved
containers:
- name: fluentd
image: sumologic/kubernetes-fluentd:1.2.2
Expand Down Expand Up @@ -1022,6 +1024,7 @@ spec:
name: collection-sumologic-fluentd-logs
securityContext:
fsGroup: 999

containers:
- name: fluentd
image: sumologic/kubernetes-fluentd:1.2.2
Expand Down