Skip to content
Draft
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
6 changes: 4 additions & 2 deletions charts/superstream/templates/deployment-syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ spec:
- name: syslog-ng
{{ include "superstream.image" (merge (pick $.Values "global") .Values.syslog.image) | nindent 8 }}
{{- if .Values.syslog.extraEnv }}
{{- range .Values.syslog.extraEnv }}
{{- range .Values.syslog.extraEnv }}
env:
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
{{- end }}
{{- end }}
securityContext:
{{- toYaml .Values.syslog.securityContext | nindent 12 }}
ports:
- name: syslog
containerPort: {{ .Values.syslog.service.port }}
Expand Down
11 changes: 9 additions & 2 deletions charts/superstream/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ superstreamEngine:
podSecurityContext: {}
# fsGroup: 2000

securityContext: {}
securityContext:
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
serviceAccount:
Expand Down Expand Up @@ -237,6 +237,13 @@ syslog:
prometheus.io/scrape: 'false'
podSecurityContext:
fsGroup: 911
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
remoteSyslog:
destinationHost: telegraf
port: 6514
Expand Down