Skip to content

Commit c45e795

Browse files
author
Michael Chmielewski
committed
Rename some things
1 parent e9f4aed commit c45e795

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

templates/configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ data:
1414
custom-audit-rules-content: {{ toYaml .Values.daemonset.customAuditRules | indent 4 }}
1515
{{- end }}
1616
{{- if .Values.daemonset.customTsAuditd }}
17-
custom-tsauditd-config: {{ toYaml .Values.daemonset.customTsAuditd | indent 4 }}
17+
custom-tsauditd-config-content: {{ toYaml .Values.daemonset.customTsAuditd | indent 4 }}
1818
{{- end }}
19-
{{- if .Values.daemonset.customLuaFilters }}
20-
custom-luafilters-config: {{ toYaml .Values.daemonset.customLuaFilters | indent 4 }}
19+
{{- if .Values.daemonset.customLuaFilter }}
20+
custom-luafilter-content: {{ toYaml .Values.daemonset.customLuaFilter | indent 4 }}
2121
{{- end }}

templates/daemonset.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ spec:
133133
mountPath: /opt/threatstack/etc/tsauditd-custom.cfg
134134
subPath: tsauditd-custom.cfg
135135
{{- end }}
136-
{{- if .Values.daemonset.customLuaFilters }}
137-
- name: custom-luafilters-config
136+
{{- if .Values.daemonset.customLuaFilter }}
137+
- name: custom-luafilter-config
138138
mountPath: /opt/threatstack/etc/tsauditd-custom.lua
139139
subPath: tsauditd-custom.lua
140140
{{- end }}
@@ -164,14 +164,14 @@ spec:
164164
configMap:
165165
name: {{ include "threatstack-agent.name" . }}-config-args
166166
items:
167-
- key: custom-tsauditd-config
167+
- key: custom-tsauditd-config-content
168168
path: tsauditd-custom.cfg
169169
{{- end }}
170-
{{- if .Values.daemonset.customLuaFilters }}
171-
- name: custom-luafilters-config
170+
{{- if .Values.daemonset.customLuaFilter }}
171+
- name: custom-luafilter-config
172172
configMap:
173173
name: {{ include "threatstack-agent.name" . }}-config-args
174174
items:
175-
- key: custom-luafilters-config
175+
- key: custom-luafilter-content
176176
path: tsauditd-custom.lua
177177
{{- end }}

values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,14 @@ daemonset:
224224
#
225225
customTsAuditdConfig: ""
226226

227-
# Override this to provide custom lua filters to the agent.
228-
# Make sure to use | to ensure the custom rules data is
227+
# Override this to provide a custom lua filter to the agent.
228+
# Make sure to use | to ensure the custom lua filter is
229229
# properly parsed and output.
230230
#
231231
# Example:
232-
# customLuaFilters: |
232+
# customLuaFilter: |
233233
# foo
234234
# bar
235235
# the end
236236
#
237-
customLuaFilters: ""
237+
customLuaFilter: ""

0 commit comments

Comments
 (0)