Skip to content

Commit

Permalink
feat: Kubernetes support for EP
Browse files Browse the repository at this point in the history
  • Loading branch information
ikheifets-splunk committed Feb 18, 2024
1 parent b67a908 commit bdb732c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions charts/splunk-connect-for-syslog/templates/statefulset.yaml
Expand Up @@ -72,6 +72,14 @@ spec:
- name: SC4S_SOURCE_TLS_ENABLE
value: "no"
{{- end }}
{{- if .Values.splunk.hec_tls }}
- name: SC4S_DEST_TLS_MOUNT
value: "/etc/syslog-ng/tls/hec/"
{{- end }}
{{- if .Values.splunk.hec_template }}
- name: SC4S_HEC_TEMPLATE
value: "{{ .Values.splunk.hec_template }}"
{{- end }}
{{- if .Values.sc4s }}
{{- if .Values.sc4s.vendor_product }}
{{- range $vp := .Values.sc4s.vendor_product }}
Expand Down Expand Up @@ -191,6 +199,11 @@ spec:
mountPath: /etc/syslog-ng/tls/
readOnly: true
{{- end }}
{{- if .Values.splunk.hec_tls }}
- name: hec-tls
mountPath: /etc/syslog-ng/tls/hec/
readOnly: true
{{- end }}
{{- if .Values.sc4s.context_files }}
- name: context
mountPath: /etc/syslog-ng/conf.d/configmap/context/
Expand Down Expand Up @@ -228,6 +241,11 @@ spec:
- name: tls
secret:
secretName: {{ .Values.sc4s.existingCert }}
{{- end }}
{{- if .Values.splunk.hec_tls }}
- name: hec-tls
secret:
secretName: {{ .Values.splunk.hec_tls }}
{{- end }}
{{- if .Values.sc4s.context_files }}
- name: context
Expand Down
2 changes: 2 additions & 0 deletions charts/splunk-connect-for-syslog/values.yaml
Expand Up @@ -9,6 +9,8 @@ splunk:
# hec_url: ""
# hec_token: ""
# hec_verify_tls: "yes"
# hec_tls: "hec_tls"
# hec_template: "t_splunk_hec"

sc4s:
{}
Expand Down

0 comments on commit bdb732c

Please sign in to comment.